Answer:
The rate charged by the first mechanic is $115 and the second mechanic is $55.
Step-by-step explanation:
Let, the rate charged by the first mechanic = $x and the rate charged by the second mechanic = $y.
Since, the first mechanic worked for 20 hours and the second mechanic worked for 5 hours.
Thus, the total rate charged by both the mechanics is (20x+5y).
As, they were charged total $2575.
So, we get, 20x+5y = 2575.
Moreover, the sum of the rate is given to $170.
This gives us, x + y = 170
So, we get the system of equations as,
20x+5y = 2575 i.e. 4x + y = 515
x + y = 170
Now, we will solve the equations by subtracting them both,
We get, 3x = 345 i.e. x = 115
So, y = 170 - x i.e. y = 170 - 115 i.e. y = 55
Hence, the rate charged by the first mechanic is $115 and the second mechanic is $55.