TeX source:
\dfrac{289p^2+680pq+400}{289p^2-400q^2}