Answer:
- Both the hat and mask cost $1
Explanation:
Let the cost of each hat is x and each mask is y.
According to the question, set the equations:
- 10x + 20y = 30
- 8x + 10y = 18
Double the second equation and subtract the first one:
- 8x*2 + 10y*2 - 10x - 20y = 18*2 - 30
- 16x - 10x = 36 - 30
- 6x = 6
- x = 1
Find the value of y:
- 10*1 + 20y = 30
- 20y = 30 - 10
- 20y = 20
- y = 1