$$ \begin{aligned} x-2 &= 8x&& \text{move the $ \color{blue}{ 8x } $ to the left side and $ \color{blue}{ -2 }$ to the right} \\[1 em]x-8x &= 2&& \text{simplify left side} \\[1 em]-7x &= 2&& \text{ divide both sides by $ -7 $ } \\[1 em]x &= -\frac{2}{7}&& \\[1 em] \end{aligned} $$