At a sale on winter, Cody bought two pairs of gloves abd four hats for $43.00. Tori bought two pairs of gloves and two hats for $30.00. Find the cost of each.