$$ \begin{aligned} 8 &= 2x+4&& \text{ swap the left and right side of the equation } \\[1 em]2x+4 &= 8&& \text{ move 4 to the right } \\[1 em]2x &= 8-4&& \\[1 em]2x &= 4&& \text{ divide both sides by $ 2 $ } \\[1 em]x &= \frac{4}{2}&& \\[1 em]x &= 2&& \\[1 em] \end{aligned} $$