Finite Math Examples

Maximize the Equation given the Constraints z=3x+7y , 6x+4y=24 , 9x+y=24
I am unable to solve this problem.