\[(a + 1)\left( a^{2} - 2a - 8 \right) =\]
\[= a^{3} + a^{2} - 2a^{2} - 2a - 8a - 8 =\]
\[= a^{3} - a^{2} - 10a - 8\]