Answer:
The cost of one hamburger is $2.50
The cost of the soda will be $1.00
Explanation:
Let the cost of one soda be s
and let the cost of one hamburger be h
Part 1) 2 sodas and 4 hamburgers cost $12.00
2s + 4h = 12
2 (s + 2h) = 12
Dividing the whole equation by 2, we get
s + 2h = 6
s = 6 - 2h (part 1)
Part 2) 4 sodas and 2 hamburgers costs $9.00
4s + 2h = 9 (part 2)
Substituting the value of s from part 1 in part 2, we get
4(6 - 2h) + 2h= 9
24 - 8h + 2h = 9
24 - 6h = 9
-6h = 9 - 24
-6h = -15
h = -15/-6
h = 2.5
So, the cost of one hamburger is $2.50
s = 6 - (2 * 2.50)
s = 6 - 5 = 1
the cost of the soda will be $1.00