\[5a^{3} - 40b^{6} = 5 \cdot \left( a^{3} - 8b^{6} \right) =\]
\[= 5 \cdot (a - 2b^{2})(a^{2} + 2ab^{2} + 4b^{4})\]