Let's use K as the cost of a bag of kisses and G as the cost of a bag of gummi bears.
It looks like we have two separate equations:
4K + 5G = $40.25 (for Sugar Addict #1)
3K + 2G = $21.00 (for Sugar Addict #2)
We need to cancel out one of those variables.
I'm going to cancel out the G by turning the 5G into a 10G and the 2G into -10G
Let's multiply both sides of the first equation by 2 and multiply both sides of the second equation by -5
2(4K + 5G)= 2(40.25)
-5(3K + 2G) = -5(21.00)
So now we have
8K + 10G = 80.50
-15K - 10G = -105.00
If we add the two equations together we have
8K + 10G = 80.50
-15K - 10G = -105.00
-7K = -24.50 Then divide both sides by -7
K = $3.50
We can now plug this into one of our original equations. I'm using the second equation
3(3.50) + 2G = 21.00
10.50 + 2G = 21.00 Now subtract 10.50 from both sides
2G = 10.50 Finally, divide both sides by 2
G = $5.25
So the cost of a bag of chocolate kisses is $3.50 and a bag of gummi bears is $5.25
Let me know if you would like to schedule an online lesson to cover any other topics you may need.