{x+2y=-1

{-x-3y=-2

1 answer

To solve this system of equations, we can use the method of substitution.

First, let's solve the first equation for x:
x = -2y - 1

Now substitute this expression for x in the second equation:
-(-2y - 1) - 3y = -2

Simplify the equation:
2y + 1 - 3y = -2
-y + 1 = -2

Now, isolate y by subtracting 1 from both sides of the equation:
-y = -3

Finally, solve for y by multiplying both sides of the equation by -1:
y = 3

Now that we have the value of y, we can substitute it back into the first equation to solve for x:
x + 2(3) = -1
x + 6 = -1

Subtract 6 from both sides of the equation:
x = -7

Therefore, the solution to the system of equations is x = -7 and y = 3.