Help

Julie bought one hat and two T-shirts for $28. Raj bought two hats and one T-shirt for $32. What are the prices of one hat and one T-shirt?