Two mechanics worked on a car. The first mechanic worked for 10 hours, and the second mechanic worked for 15 hours. Together they charged a total of $2350 . What was the rate charged per hour by each mechanic if the sum of the two rates was $175 per hour?