At a bakery. Andy bought 12 cupcakes while Ben bought 20 buns. The price of 3 cupcakes is the same as the price of 4 buns. Andy, Ben and Carl agreed to share the cost of the cupcakes and buns equally among themselves. Carl paid Andy and Ben total of $23.40 for his share.

(a) How many cupcakes can Ben buy with the amount of money he spent on the 20 buns?
(b) How much did Carl pay Andy?

1 answer

Let the price of one cupcake be $c and the price of one bun be $b. We are given that:
3c = 4b …(1)
To find the cost of each cupcake and each bun, we need one more equation. Let the total cost of the cupcakes be Cc and the total cost of the buns be Cb. Then we have:
Cc + Cb = (12)(c) + (20)(b)
Now we need to express Cc and Cb in terms of c and b using equation (1):
Cc = (4/3)Cb
Substituting this in the previous equation, we get:
(4/3)Cb + Cb = (12)(c) + (20)(b)
Simplifying, we get:
Cb = (60/7)b
Substituting this in equation (1), we get:
c = (4/7)b
Now we can answer the questions:
(a) Ben spent the same amount on 20 buns as Andy spent on 12 cupcakes. Let's call this common amount X. Then we have:
20b = 12c
Substituting c = (4/7)b, we get:
20b = 12(4/7)b
Solving for b, we get:
b = $1.05
Substituting this in 20b, we get:
Ben spent 20($1.05) = $21 on the buns.
The cost of one cupcake is c = (4/7)b = $0.60.
Therefore, Ben could buy $21/$0.6 = 35 cupcakes with the same amount of money.
(b) Carl paid $23.40 for his share of the cost, which is (1/3) of the total cost. Therefore, the total cost of the cupcakes and buns was:
3($23.40) = $70.20
Let's call Andy's share of the cost A and Ben's share B. Then we have:
A + B + 23.40 = 70.20
A + B = 46.80
We know that Andy bought 12 cupcakes, so his share of the cost is:
Cc = 12c = 12($0.60) = $7.20
Substituting B = 46.80 - A in the previous equation, we get:
A + (46.80 - A) = 7.20 + B
Simplifying, we get:
B - A = 39.60
We also know that Ben spent $21 on the buns, so his share of the cost is:
Cb = 20($1.05) = $21
Substituting Cb = (60/7)b in the previous equation, we get:
A = (4/3)Cb = (4/3)($21) = $28
Therefore, Carl paid Andy $28 for his share.