You are buying 3 shirts and 2 pairs of pants. You spend $300. Let x represent the price of the shirt and y represent the price of the pants. Write an equation that can be used to find the price of the shirts and pants.