Question 697516
50p+100q+2r*250
p+q+2r = total number of cakes taken to the party.