TeX source:
\begin{array}{rclll}5x+2 &\neq & 0 & \vert & -2\\5x &\neq & -2 & \vert & :5\\x &\neq & -\dfrac{2}{5}\end{array}