Finite Math Examples

Maximize the Equation given the Constraints p=170x+190y , x+y=90 , 2x+3y=99 , x+y=40
I am unable to solve this problem.