Solve the system of equations

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

1 answer

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

Substituting x = 5y - 1 into the first equation:

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 to find x:

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

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