To solve this problem we have to state a system of equations and solve it.
Let x and y be the rates charged per hour by each mechanic.
The sum of x and y is 220:
[tex]x+y=220[/tex]The sum of 20x and 15y is 3875:
[tex]20x+15y=3875[/tex]Solve the system by substitution:
[tex]\begin{gathered} x=220-y \\ 20(220-y)+15y=3875 \\ 4400-20y+15y=3875 \\ -20y+15y=3875-4400 \\ -5y=-525 \\ y=\frac{-525}{-5} \\ y=105 \end{gathered}[/tex]Use the value of y to find x:
[tex]\begin{gathered} x=220-y \\ x=220-105 \\ x=115 \end{gathered}[/tex]It means that the rates charged per hour by each mechanic were $115 and $105.