Answer:
The cake cost $6.00
Explanation:
Let c = the cost of the cake
Let t = the cost of the tea
c = 2t
c + 5t = 21 Substitute 2t for c
2t + 5t = 21 Combine like terms
7t = 21 Divide both sides by 7
=
t = 3
A cup of tea costs $3.00
c = 2t Substitute 3 for t
c = 2(3)
c = 6
A cake costs $6.00