So to solve, you solve for the first variable in one of the equations, then substitute the result into the other equation.
y=-8x+2