9x-7y=22,

x+3y=-24

1 answer

First, let's solve the second equation for x:

x = -24 - 3y

Now we substitute this expression for x into the first equation:

9(-24 - 3y) - 7y = 22
-216 - 27y - 7y = 22
-34y = 238
y = -7

Now that we have found the value for y, we can substitute it back into the second equation to find x:

x + 3(-7) = -24
x - 21 = -24
x = -3

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