TeX source:
\begin{aligned} y+4 &=3(x+2) \\ y+4 &=3 x+6 \\ y &=3 x+2 \end{aligned}