Answer: Each pair of gloves costs $15 and each pair of hat costs $10.
Step-by-step explanation:
Let x = Cost per pair of gloves
y= Cost per hat.
As per given, we have
[tex]5x+2y=95 \ \ \ \ (i)\\4x+y=70\ \ \ \ \ (ii)[/tex]
Multiply (ii) by 2 , we get
[tex]8x+2y=140\ \ \ \ (iv)[/tex]
Eliminate (i) from (iv), we get
[tex]3x=45\\x=15[/tex]
Put this in (ii), we get
[tex]4(15)+y=70\\60+y=70\\y=10[/tex]
Hence, each pair of gloves costs $15 and each pair of hat costs $10.