solve the system of equations

2x+6y=-18
x=5y-1

1 answer

To solve the system of equations, you can substitute the value of x from the second equation into the first equation.

Substituting x=5y-1 in the first equation, we have:

2(5y-1) + 6y = -18
10y - 2 + 6y = -18
16y - 2 = -18
16y = -18 + 2
16y = -16
y = -16/16
y = -1

Now, substitute the value of y back into the second equation:

x = 5(-1) - 1
x = -5 - 1
x = -6

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