Final answer:
To solve the system by substitution, substitute the value of y from the first equation into the second equation. Simplify the equation and solve for x. Substitute the value of x back into the first equation to find the value of y.
Step-by-step explanation:
To solve the system by substitution, we will substitute the value of y from the first equation into the second equation.
Given that y = -6x, we can substitute this value into the second equation:
-2x - 7(-6x) = 40
Simplifying the equation:
-2x + 42x = 40
Combining like terms:
40x = 40
Dividing both sides by 40:
x = 1
Now, we can substitute this value of x back into the first equation to find the value of y:
y = -6(1)
y = -6
Therefore, the solution to the system of equations is x = 1 and y = -6.