Given : two mechanics worked on a car
The first : worked for 5 hours
The second : worked for 15 hours
Total charge for both = $1,225
Let the charge rate per hour for the first is x and for the second is y
So,
the sum of the two rates was $125 per hour so,
so, we have the following system of equations :
Form the second equation : y = 125 - x
Substitute at the first equation with y to find the value of x
so,
so, the rate of the first one who worked 5 hours = $65 per hour
And the rate of the second will be = $60 per hour