Two mechanics worked on a car. the first mechanic worked for 5 hours snd the second mechanic worked for 15 hours. Together they charged a total of $2375. What was the rate charged per hour by each mechanic if the sum of the two rates was $235 per hour?

Setup equations where x is the rate of the first mechanic and y is the rate of the second mechanic: