Answer:
Cost of haircut = $93
Cost of colouring hair = $31
Explanation:
Let
Cost of haircut = x
Cost of colouring hair = y
The equations
x + 2y = 217 (1)
2x + y = 155 (2)
From (1)
x = 217 - 2y
Substitute x = 217 - 2y into (2)
2x + y = 155
2(217 - 2y) + y = 155
434 - 4y + y = 155
-3y = 155 - 434
-3y = -279
y = -279 / -3
= 93
y = $93
Substitute y = 93 into (1)
x + 2y = 217
x + 2(93) = 217
x + 186 = 217
x = 217 - 186
= 31
x = $31
Cost of haircut = $93
Cost of colouring hair = $31