Substitute 3x + 1 for 'y' in the 2nd equation:
-x + 2(3x + 1) = -3
Distribute 2:
-x + 6x + 2 = -3
Combine like terms:
5x + 2 = -3
Subtract 2 to both sides:
5x = -5
Divide 5 to both sides:
x = -1
Plug this into any of the two equations to find 'y':
y = 3x + 1
y = 3(-1) + 1
y = -3 + 1
y = -2
So our solution is (-1, -2).