this equation is not funcion.
Step-by-step explanation:
if u make a graph and u aline them with dots 2 or more dots will cross each other witch makes it not function:)
Find the intersection point between the 2 restraint equations:

Substitute back in to find y-value:

P is maximized at point (12,6)