At a diner, the cost of a muffin (m) and a cup of tea (t) is $2.10. The cost for two muffins and 3 cups of tea is $5.15. How much does a muffin and a cup of tea cost?
We have these equations
m + t = 2.10 ⇒ t = 2.10 - m (1)
2m + 3t = 5.15 (2)
Sub (1) into (2) and we have
2m + 3 ( 2.10 - m) = 5.15 simplify
2m + 6.30 - 3m = 5.15
-m +6.30 = 5.15 subtract 6.30 from both sides
-m = -1.15 multiply through by -1
m = 1.15 = cost of a muffin
t = 2.10 - 1.15 = .95 = cost of tea