Two mechanics worked on a car. The first mechanic charged S75 per hour, and the second mechanic charged S50 per hour. The mechanics worked for a
combined total of 25 hours, and together they charged a total of $1750. How long did each mechanic work