You can put this solution on YOUR website! Use the substitution method
x-2y=2
y=2x-2
Substitute the value of y in the first equation for y
x-2(2x-2)=2
Use the distributive property
x-2x+4=2
Combine like terms
-x+4=2
Isolate x by subtracting 4 from both sides of the equation
-x=-2
Divide both sides of the equation by -1
x=2
Now take the value for x and plug it into one of the original equations
y=2(2)-2
y=4-2
y=2