$$ \begin{aligned} 5-(1+3n) &= -12+5n&& \text{simplify left and right hand side} \\[1 em]5-1-3n &= 5n-12&& \\[1 em]-3n+4 &= 5n-12&& \text{move the $ \color{blue}{ 5n } $ to the left side and $ \color{blue}{ 4 }$ to the right} \\[1 em]-3n-5n &= -12-4&& \text{simplify left and right hand side} \\[1 em]-8n &= -16&& \text{ divide both sides by $ -8 $ } \\[1 em]n &= \frac{-16}{-8}&& \\[1 em]n &= 2&& \\[1 em] \end{aligned} $$
This page was created using
Polynomial Equations Solver