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