Given
2 milks + 5 waters + 8 chips = $25
water cost = 2×chips cost
milk cost = $1.50 + water cost
Find
The cost of each: milk, water, chips.
Solution
Let m, w, and c represent the costs of milk, water, and chips, respectively. We can write the given relations more compactly as
... 2m + 5w + 8c = 25
... w = 2c
... m = w + 1.5
We can substitute for w everywhere using the second equation. This gives us
... m = 2c +1.5
... 2(2c+1.5) + 5(2c) + 8(c) = 25
... 22c + 3 = 25
... 22c = 22
... c = 1
Then
... m = 2·1 + 1.5 = 3.5
... w = 2·1 = 2
A gallon of milk costs $3.50, a bottle of water costs $2.00, a bag of chips costs $1.00.