The cost of scarf is $11 and the cost of hat is $6.
<u>Step-by-step explanation:</u>
<u>Let us assume :</u>
- The cost of hat be 'h'.
- The cost of scarf be 's'.
<u>Given that,
</u>
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)
<u>Solving the equations to find x and y values :
</u>
Multiply eq(2) by 2 and subtract eq(2) from eq(1),
6h + s = 47
-<u>(6h + 4s = 80)
</u>
<u>
</u> <u> -3s = - 33</u>
-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.