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