Answer: The price for the gloves were $5 each and the price of the hats were $7 each.
Explanation:
2g + 4h = 38 solve by elimination
3g + 5h = 50
-3(2g + 4h) = 38(-3) -6g -12h= -114
2 (3g + 5h)= 50(2) 6g + 10h =100
0 + -2h= -14
h= 7
-6g -12(7)=-114
-6g -84 = -114
+ 84 +84
-6g =-30
g= 5