\(x^3-5x^2-14x\)
\(=x^3+2x^2-7x^2-14x\)
\(=x^2\left(x+2\right)-7x\left(x+2\right)\)
\(=\left(x+2\right)\left(x^2-7x\right)\)
\(=x\left(x+2\right)\left(x-7\right)\)
\(x^3-7x-6\)
\(=x^3+x^2-x^2-x-6x-6\)
\(=x^2\left(x+1\right)-x\left(x+1\right)-6\left(x+1\right)\)
\(=\left(x+1\right)\left(x^2-x-6\right)\)
\(=\left(x+1\right)\left(x^2+2x-3x-6\right)\)
\(=\left(x+1\right)\left[x\left(x+2\right)-3\left(x+2\right)\right]\)
\(=\left(x+1\right)\left(x+2\right)\left(x-3\right)\)
\(x^3-19x-30\)
\(=x^3-5x^2+5x^2-25x+6x-30\)
\(=x^2\left(x-5\right)+5x\left(x-5\right)+6\left(x-5\right)\)
\(=\left(x-5\right)\left(x^2+5x+6\right)\)
\(=\left(x-5\right)\left(x^2+2x+3x+6\right)\)
\(=\left(x-5\right)\left[x\left(x+2\right)+3\left(x+2\right)\right]\)
\(=\left(x-5\right)\left(x+3\right)\left(x+2\right)\)