Step-by-step explanation:
Given,
3 coffee + 2 muffins = $7
and
2 coffees + 4 muffins = $8
let the coffee be x and muffins be y.
so now, we got
3x + 2y = $7 -----------(eqⁿ 1)
2x + 4y = $8 -------------(eqⁿ 2)
multiply (eqⁿ 1) by 2
we got,
2(3x + 2y = $7) = 6x + 4y = $14 -----(eqⁿ 3)
now, subtract (eqⁿ 2) from (eqⁿ 3)
we got,
(6x - 4y = $14) - (2x + 4y = $8)
we got,
4x = $6
x = 6/4 = $1.5
to get value of y put the value of x in eqⁿ2
we got,
→ 2(1.5) + 4y = $8
→ 3 + 4y = 8
→ 4y = 8 - 3 = 5
→ y = 5/4 = $1.25
hence,
value of one coffee = $1.5
value of one muffin = $1.25
Hope this answer helps you dear! take care!.