At a sale on Winter clothes Cody bought 2 pairs of gloves and 4 hats for $43 Tory bought 2 pairs of gloves and 2 hats for $30 what were the prices for the gloves and the hats