at a sale on winter clothing, jacquie bought 2 pairs of gloves and 4 hats for 43$. julia bought 2 pairs of gloves and 2 hats for 30$. Find the prices of the hats and gloves