Create equations:
10X+15y=2575.
X+Y=210.
Solve for X: X=210-Y, and sub it into the other equation: 10(210-Y)+15Y=2575. Solve for Y: 2,100-10y+15y=2575, 5y=475, y=95.
Sub Y into the original problem: X+95=210. Solve: X=115.
The first mechanic charges $115 per hour and the second charges $95 :)