TeX source:
\begin{array}{rclcl} (x+8)(x-6) &=& x^2-4 \cr x^2+8x-6x-48 &=& x^2-4 \cr x^2+2x-48 &=& x^2-4 &\vert& -x^2 \cr 2x-48 &=& -4 &\vert& +48 \cr 2x &=& 44 &\vert& \cdot \dfrac{1}{2} \cr x &=& 22 \end{array}