\[a^{4} - a^{2} + 6a + 6 =\]
\[= a^{2}\left( a^{2} - 1 \right) + 6 \cdot (a + 1) =\]
\[= (a + 1)(a^{3} - a^{2} + 6)\]