Question 1173112
P=5x+3y
solve for x, number of cupcakes.  Isolate x
5x=P-3y
divide by 5
x=(P-3y)/5