Finite Math Examples

Maximize the Equation given the Constraints p=5x+2y+2z , x+y+z=32 , 6x+4y+7z=82
I am unable to solve this problem.