\(x^4-14x^2-7x+30=\left(x^4+x^3-3x^2\right)+\left(-x^3-x^2+3x\right)+\left(-10x^2-10x+30\right)\)
\(=x^2\left(x^2+x-3\right)-x\left(x^2+x-3\right)-10\left(x^2+x-3\right)\)
\(=\left(x^2+x-3\right)\left(x^2-x-10\right)\)
x^4-14*x^2-7*x+30=(x^2-x-10)*(x^2+x-3)