In the question , it is given that the price of the hat is 4 times as much as of the gloves . And the hat cost $ 8 .
And it is of 4 times to the cost of gloves means cost of gloves is
[tex] \frac{8}{4} = $2 [/tex]
Total cost of both items
[tex] = $ 8 + $ 2 = $ 10 [/tex]
So the ratio of cost of gloves to the total cost of both items is
[tex] \frac{2}{10} = \frac{1}{5} [/tex]