Finite Math Examples

Maximize the Equation given the Constraints p=23x+27y+24z , 2x+y+5z=8
I am unable to solve this problem.