Two mechanics worked on a car. The first mechanic charged $85 per hour, and the second mechanic charged $45 per hour. The
mechanics worked for a combined total of 15 hours, and together they charged a total of $1075. How long did each mechanic work?