solve.

y=x-8
2x+y=7

1 answer

To solve the system of equations:

First, rearrange the first equation to solve for x:
x = y + 8

Substitute this expression for x into the second equation:
2(y + 8) + y = 7

Simplify:
2y + 16 + y = 7
3y + 16 = 7

Subtract 16 from both sides:
3y = -9

Divide both sides by 3:
y = -3

Now substitute the value of y back into the first equation to solve for x:
x = -3 + 8
x = 5

Therefore, the solution to the system of equations is x = 5 and y = -3.