A family room and two bedrooms cost $360 to steam clean the carpets. The amount of labor and the service fee are incorporated into the total cost. Let x represent the labor costs per room and $45 equal the service fee. If it took the carpet cleaners (3) hours to complete the job, how much was the labor?

Choose the equation that represents this situation.

3x = 360 - 45