EXPLANATION
Given the equations:
 (1) y = 3x - 5
 (2) y = 2x - 2
Substituting (2) in (1):
 3x - 5 = 2x - 2
Adding +5 to both sides:
 3x - 5 + 5 = 2x - 2 + 5
Adding -2x to both sides:
 3x - 5 + 5 -2x = 2x - 2x - 2 + 5
Simplifying:
 x = 3
So, x=3
Now, substituting x=3 into y=3x-5:
 y = 3*3 - 5 = 9 - 5 = 4
The solutions to the system of equations are:
  (x,y)= (3,4)