x = 1st mechanic, y = 2nd mechanic
x + y = 175...x = 175 - y
10x + 15y = 2350
10(175 - y) + 15y = 2350
1750 - 10y + 15y = 2350
-10y + 15y = 2350 - 1750
5y = 600
y = 600/5
y = 120 <== 2nd mechanic earned 120 per hr
x = 175 - y
x = 175 - 120
x = 55 <== 1st mechanic earned 55 per hr