A mechanic charges $25 per hour and $40 for each hour of overtime. For a job, the mechanic works 5 regular hours, an unknown amount of overtime hours, and charges $200 for new parts. The amount of the bill for the job is $525. Write and solve an equation to find the number of overtime hours the mechanic worked.