\[(c - 3)\left( c^{2} - 2c - 5 \right) =\]
\[= c^{3} - 2c^{2} - 5c - 3c^{2} + 6c + 15 =\]
\[= c^{3} - 5c^{2} + c + 15\]