Answer:
haircut =9 and hair color= 3
Explanation:
Step one:
GIven data
let the haircut be x
and hair color be y in numbers.
so
18x+42y=288------------1
x+y=12---------------------2
from 1
x=12-y, put this in 2, we have
18(12-y)+42y=288
216-18y+42y=288
collect like terms
24y=288-216
24y=72
divide both sides by 24
y=72/24
y=3
put y= 3 in 2
x+3= 12
x= 12-3
x=9