By elimination:
y = 3x - 1
y = 2x + 2
Subtract the second equation from the first
0 = x - 1
y = 2x + 2
Subtract the first equation from the second
0 = x - 1
y = x + 3
Subtract the first equation from the second again
0 = x - 1
y = 4
Subtract x from both sides of the first equation
- x = - 1
y = 4
Divide the first equation by (-1)
x = 1
y = 4