Finite Math Examples

Maximize the Equation given the Constraints p=10x+12y , x+2y=12 , 3x+2y=24
I am unable to solve this problem.