The cost of scarf is $11 and the cost of hat is $6.
Step-by-step explanation:
Let us assume :
Given that,
The cost of 6 hats and 1 scarf is $47
⇒ 6h + s = 47 ------(1)
The cost of 3 hats and 2 scarves is $40
⇒ 3h + 2s = 40 -------(2)
Solving the equations to find x and y values :
Multiply eq(2) by 2 and subtract eq(2) from eq(1),
6h + s = 47
-(6h + 4s = 80)
-3s = - 33
-3s = - 33
s =33/3
s = 11
The cost of scarf is $11.
Substitute s=11 in eq(1),
6h + 11 = 47
6h = 47 - 11
6h = 36
h = 36/6
h = 6
The cost of hat is $6.