188k views
3 votes
Please help- A bakery sells cakes for $18 each and pies for $15 each. Last weekend the bakery sold 118 total items and earned $1,932. How many pies were sold last weekend?

2 Answers

4 votes
64 pies were sold last weekend
User Glaux
by
4.6k points
2 votes

Answer:

64 pies sold

Explanation:

x = number of cakes sold

y = number of pies sold

Last weekend the bakery sold 118 total items

x + y = 118

Last weekend the bakery earned $1,932.

18x + 15y = 1,932.

Get rid of one of the terms, in this case x.

x + y = 118 becomes

18x + 18y = 2124

Subtract the equations from each other

(18x - 18x) + (18y - 15y) = 2124 - 1932

3y = 192

y = 64

Subsititue y into the orginal qeuation to solve for x and check it's right.

x + 64 = 118

x = 118 - 64 = 54

18(54) + 15(64) = 1932

User John Cast
by
5.0k points