solve by using substitution:

x=y+7
y-8=2x

y - 8 = 2(y + 7) = 2y + 14

y = -22
x = y +7 = -15

To solve the given system of equations using the method of substitution, we'll start by rearranging one equation to make one variable the subject, and then substitute it into the other equation.

Let's solve the first equation for y:
x = y + 7

Rearranging, we have:
y = x - 7

Now, substitute this expression for y in the second equation:
y - 8 = 2x

Substituting y = x - 7:
(x - 7) - 8 = 2x

Simplifying:
x - 7 - 8 = 2x
x - 15 = 2x

Next, we want to isolate one of the variables, let's isolate x:
x - 2x = 15
-x = 15
(-1)(-x) = (-1)(15)
x = -15

Now that we have the value of x, substitute it back into one of the original equations to find y. We'll use the first equation:
x = y + 7

Substituting x = -15:
-15 = y + 7

Rearrange to solve for y:
y = -15 - 7
y = -22

Therefore, the solution to the system of equations is x = -15 and y = -22.