.
55*x + 80*(25-x) = 1750
55x + 2000 - 80x = 1750
-25x = 1750-2000
-25x = -250 ====> x = = 10.
Answer. 1-st mechanic worked 10 hours.
2-nd mechanic worked 25-10 = 15 hours.
Check. 10*55 + 15*80 = 1750. ! Correct !
Solved.
=====================
Be aware: The solution by @josgarithmetic and his answer 20 hours and 25 hours are W R O N G.
josgarithmetic, don't you think that it is JUST TIME for you to leave this forum FOREVER ? ? ?