Solve the system of equations.

3x+6y=21

–5x+2y=13(1 point)

1 answer

The system of equations can be solved by first isolating one variable in one of the equations and substituting it into the other equation. Let's solve for y in the first equation:

3x + 6y = 21
6y = 21 - 3x
y = (21 - 3x) / 6
y = (7 - x) / 2

Substitute this value of y into the second equation:

-5x + 2(7 - x)/2 = 13
-5x + 7 - x = 13
-6x + 7 = 13
-6x = 6
x = -1

Now substitute this value of x back into the first equation to solve for y:

3(-1) + 6y = 21
-3 + 6y = 21
6y = 24
y = 4

Therefore, the solution to the system of equations is x = -1 and y = 4.