Answer:
The first mechanic worked for 20 hours and the second mechanic worked for 5 hours
Explanation:
Let f be the number of working hours of first mechanic
Let s be the number of working hours of second mechanic
Given that they both worked for a combined total of 25 hours
⇒f + s = 25 → equation 1
First mechanic charged $95 per hour and second mechanic charged $90 per hour and they both together charged $2350
⇒95f + 90s = 2350 → equation 2
Using equation 1 in equation 2:
95f + 90(25-f) = 2350
⇒95f + 2250 - 90f = 2350
⇒5f = 100
or f = 20 hours
⇒s = 25 - f ⇒ s = 5 hours
The first mechanic worked for 20 hours and the second mechanic worked for 5 hours