To solve the system of equations, we can use the method of substitution or elimination. Let's start by using the method of substitution.
We have the following two equations:
1) y = 2x - 5
2) y = -x + 1
To solve by substitution, we can substitute the value of y from equation 1 into equation 2:
- x + 1 = 2x - 5
Now we can solve for x:
3x = 6
x = 2
Substituting the value of x back into equation 1, we can find the value of y:
y = 2(2) - 5
y = 4 - 5
y = -1
Therefore, the solution to the system of equations is x = 2 and y = -1.