Finite Math Examples

Maximize the Equation given the Constraints p=0.06x+10y , x+y=24000 , x=18000 , y=3x
I am unable to solve this problem.