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