TeX source:
\begin{aligned} -5 x+10 &=0 \\ -5 x &=-10 \\ x &=2 \end{aligned}