Jillian spent $52 at the mall. She bought 3 shirts and a pair of pants. The shirts were all the same price. The pants cost $22. What was the price of each shirt? Use x to represent the shirt's price.