use elimination method to solve the follow system of equations. 9x - 7y = 22 and x + 3y = -24

1 answer

First, we need to multiply the second equation by 9 to make the coefficients of x the same in both equations:

9(x + 3y) = 9(-24)
9x + 27y = -216

Now we have two equations:

9x - 7y = 22
9x + 27y = -216

Next, we can eliminate the x variable by subtracting the first equation from the second equation:

(9x + 27y) - (9x - 7y) = -216 - 22
34y = -238
y = -238 / 34
y = -7

Now that we have the value of y, we can substitute it back into either of the original equations to solve for x. Let's use the second equation:

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

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