TeX source:
\frac{x^{2}-4 x+1}{x+2}