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