60.2k views
5 votes
Gio baked 21 cupcakes for the holiday sale. He made some with vanilla icing, and some with mint-chip icing. He charged $2 for the vanilla cupcakes, and $4 for the mint-chip cupcakes and made $54. How many of each did he make? He created the following system of equations to find out how many of each he made. Let x represent the number of vanilla cupcakes, and y represent the number of mint-chip cupcakes.

x+y=21

2x+4y=54

2 Answers

4 votes

Answer: 15 vanilla and 6 mint

Explanation:

You would solve for x and get x=21-y and then plug that into the next equation and get 2(21-y)+4y = 54.

You would then solve for y.

42-2y + 4y = 54

42+2y =54

Then subtract 42 from both sides.

2y = 12, and then divide by 2.

You get y=6.

Then we know we sold 21 cupcakes so

21-6=x

15=x

User SomethingOn
by
5.4k points
1 vote
15 vanilla and 6 mint chip

$2(15) + $4(6) = $54
User RIFAL
by
5.1k points