\(x^3+4x^2-7x-10\)
\(=x^3-2x^2+6x^2-12x+5x-10\)
\(=x^2\left(x-2\right)+6x\left(x-2\right)+5\left(x-2\right)\)
\(=\left(x-2\right)\left(x^2+6x+5\right)\)
\(=\left(x-2\right)\left(x^2+x+5x+5\right)\)
\(=\left(x-2\right)\left[x\left(x+1\right)+5\left(x+1\right)\right]\)
\(=\left(x-2\right)\left(x+1\right)\left(x+5\right)\)
x3+4x2-7x-10
= x3-2x2+6x2-12x+5x-10
= x2(x-2)+6x(x-2)+5(x-2)
= (x2+6x+5)(x-2)
= (x2+x+5x+5)(x-2)
= [x(x+1)+5(x+1)](x-2)
= (x+5)(x+1)(x-2)