\(x^5-x^4-30x^3=x^3\left(x^2-x-30\right)=x^3\left(x-6\right)\left(x+5\right)\)
\(x^5-x^4-30x^2=x^2\left(x^2-x-30\right)=x^2\left(x+5\right)\left(x-6\right)\)
\(=x^3\left(x^2-x-30\right)=x^3\left(x-6\right)\left(x+5\right)\)
\(x^5-x^4-30x^3\)
\(=x^3\left(x^2-x-30\right)\)
\(=x^3\left(x-6\right)\left(x+5\right)\)