TeX source:
\begin{gathered} 2 a=2-(-8) \\ 2 a=10 \\ a=5 \end{gathered}