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