\[\frac{p^{2} + 4p + 5}{p + 2} =\]
\[= \frac{p^{2} + 4p + 4 + 1}{p + 2} =\]
\[= \frac{(p + 2)^{2}}{p + 2} + \frac{1}{p + 2} =\]
\[= p + 2 + \frac{1}{p + 2}\]