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 three 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?

Respuesta :

Answer:

[tex]30-8p[/tex]

Step-by-step explanation:

Let p represent cost of each drink.

We have been given that the medium pizza costs two times as much as one drink, so the cost of medium pizza would be [tex]2p[/tex].

We are also told that the large pizza costs three times as much as one drink,  so the cost of la pizza would be [tex]3p[/tex].

We have been given that Mary wants to buy one large pizza, one medium pizza, and three drinks.

Since the cost of one drink is p, so cost of 3 three drinks would be [tex]3p[/tex].

The total cost of one large pizza, one medium pizza, and three drinks would be [tex]2p+3p+3p=8p[/tex]

Mary started with $30, so amount left after all of her purchases would be 30 minus total cost of all purchases.

[tex]30-8p[/tex]

Therefore, Mary will have [tex]30-8p[/tex] dollars left after making all of her purchases.

ACCESS MORE