ANSWER
5 hours
Step-by-step explanation
Let h be the number of hours per labor. We know that they charge $48 per hour of labor, so for h hours, the cost is $48h.
In this case, the total cost of parts was $265 and that plus the h hours of labor resulted in a bill for a total of $505,
We have to solve this equation for h. First, subtract 265 from both sides,
And then divide both sides by 48,
Hence, you were charged for 5 hours of labor.