Solve this system using substitution

x+2y=8
y=3x+17

I got x=-26/7

me, too

y=2,x=4

To solve the system of equations using substitution, we need to isolate one variable in one equation and substitute it into the other equation.

Let's start by isolating y in the second equation:
y = 3x + 17

Now, substitute this expression for y in the first equation:
x + 2(3x + 17) = 8

Simplify the equation:
x + 6x + 34 = 8
7x + 34 = 8

Next, we can solve for x by isolating it on one side of the equation:
7x = 8 - 34
7x = -26

Divide both sides of the equation by 7:
x = -26/7

So, you correctly found that x = -26/7.

Now, substitute this value back into the equation we used to solve for y:
y = 3(-26/7) + 17

Simplify the equation:
y = -78/7 + 17

Common denominator for subtraction:
y = -78/7 + (17 * 7)/7
y = -78/7 + 119/7

Combine the two fractions:
y = (119 - 78)/7
y = 41/7

Therefore, the solution to the system of equations is x = -26/7 and y = 41/7.