Final answer:
To solve the system of equations using substitution, solve one equation for one variable and substitute the expression into the other equation. Then solve for the remaining variable.
Step-by-step explanation:
To solve the system of equations using substitution, we start by solving one equation for one variable in terms of the other variable. Let's solve the second equation for y:
y - x = -5
y = x - 5
Now we substitute this expression for y into the first equation:
2y + x = -4
2(x - 5) + x = -4
2x - 10 + x = -4
3x - 10 = -4
3x = 6
x = 2
Now we substitute this value of x back into the second equation to find y:
y = 2 - 5
y = -3
Therefore, the solution to the system of equations is x = 2 and y = -3.