You buy 15 bags of gummy bears and 3 bags of chocolate for $25. You then buy 3 bags of gummy bears and 5 bag of chocolate for $10. What is the price of a bag of gummy bears and a bag of chocolate?

Respuesta :

Answer:

Price of one bag of gummy bears = $1.44

Price of one bag of chocolates = $1.14

Step-by-step explanation:

Let the price of one bag of gummy bears = $b

Price of one bag of chocolate = $c

Since, cost of 15 bags of gummy bears and 3 bags of chocolates is $25

15b + 3c = 25 --------(1)

And cost of 3 bags of gummy bears and 5 bags of chocolates is $10

3b + 5c = 10 -----(2)

Equation (2) multiplied by 5 then subtracted from equation (1),

15b + 3c - 5(3b + 5c) = 25 - 50

15b + 3c - 15b - 25c = -25

-22c = -25

c = [tex]\frac{25}{22}[/tex]

c = 1.136 ≈ $1.14  

From equation (1),

15b + 3(1.136) = 25

15b = 21.592

b = $1.44