Finite Math Examples

Maximize the Equation given the Constraints z=2x*1+9x*2 , 5x*1+x*2=40 , 9x*1+2x*2=60 , x*1+x*2=50 , x*1=0
I am unable to solve this problem.