Mary wants to buy one large pizza, one medium pizza, and three drinks. The drinks cost p dollars each, the medium pizza costs two times as much as one drink, and the large pizza costs four times as much as one drink. If Mary started with 30 dollars, how much money would she have left after making all of her purchases? Give your answer as an expression of p.

Guest Apr 2, 2021

#1**0 **

l=large pizza cost

m=medium pizza cost

d=drink cost

l=4d

m=2d

d=d

total money spent=4d+2d+d=7d

money left is $\boxed{30-7d}$

RiemannIntegralzzz Apr 2, 2021