Answer: Each pair of gloves costs $15 and each pair of hat costs $10.
Explanation:
Let x = Cost per pair of gloves
y= Cost per hat.
As per given, we have

Multiply (ii) by 2 , we get

Eliminate (i) from (iv), we get

Put this in (ii), we get

Hence, each pair of gloves costs $15 and each pair of hat costs $10.