You spend $27 on 7 bags of candy to throw while you participate in a parade. The bags cost either $5 or $3. How many bags of each amount did you purchase?

Respuesta :

Answer:

Step-by-step explanation:

x = $ 5 bags and y = $ 3 bags

x + y = 7.....this one is dealing with the number of bags

5x + 3y = 27....this one is dealing with the cost

x + y = 7.....x = 7 - y

now we sub 7 - y in for x, back into the other equation

5(7 - y) + 3y = 27

35 - 5y + 3y = 27

-5y + 3y = 27 - 35

-2y = - 8

y = -8 / -2

y = 4 <=== there are 4 three dollar bags

x + y = 7

x + 4 = 7

x = 7 - 4

x = 3 <==== there are 3 five dollar bags

ACCESS MORE