TeX source:
\begin{aligned} \frac{p}{q} &=\frac{\text { factor of constant term }}{\text { factor of leading coefficient }} \\ &=\frac{\text { factor of } 1}{\text { factor of } 2} \end{aligned}