Two mechanics worked on a car. the first mechanic worked for 5 hours, and the second mechanic worked for 15 hours. together they charged a total of $1450 . what was the rate charged per hour by each mechanic if the sum of the two rates was $160 per hour