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?