<u>Answer: </u>
The pattern for hats is
and the pattern for scarves is
; where n is the no. of hat or scarf respectively
<u>Explanation:</u>
Let, cost of hat and scarves be x and y respectively
Then, according to question,
y (cost of scarves) =
(cost of hats)
or,
Calculating for hats,
For 1 hat; putting y = 1 
For 2 hats; putting y = 2 
For 3 hats; putting y = 3 
For 4 hats; putting y = 4 
For 5 hats; putting y = 5 
Therefore, we can see the pattern for hats is
, where n is no. of hats
Calculating for scarves,
For 1 scarves; putting x = 1 x =
= 1.5
For 2 scarves; putting x = 2 x =
= = 3.0
For 3 scarves; putting x = 3 x =
= = 4.5
For 4 scarves; putting x = 4 x =
= = 6.0
For 5 scarves; putting x = 5 x =
= = 7.5
Therefore, we can see the pattern for scarves is
, where n is no. of scarves