Two mechanics worked on a car. The first mechanic worked for 20 hours, and the second mechanic worked for 5 hours. Together they charged a total of 2150 dollars. What was the rate charged per hour by each mechanic if the sum of the two rates was 145 dollars per hour?
Lets say the first mechanic makes x dollars per hour and the second mechanic makes y dollars per hour. We can say that
20x + 5y = 2150
x + y = 145
We can multiply the second equation by 5 and subtract it from the first:
5x + 5y = 725
15x = 1425
$x = \boxed{95}$
95 + y = 145
$y = \boxed{50}$