x3-7x+6
=x3+3x2-3x2-9x+2x+6
=x2(x+3)-3x(x+3)+2(x+3)
=(x2-3x+2)(x+3)
=(x2-2x-x+2)(x+3)
=[x(x-2)-(x-2)](x+3)
=(x-1)(x-2)(x+3)
\(x^3-7x+6\)
\(=x^3-x-6x+6\)
\(=\left(x^3-x\right)-\left(6x+6\right)\)
\(=x.\left(x^2-1\right)-6.\left(x+1\right)\)
\(=x.\left(x+1\right)\left(x-1\right)-6.\left(x+1\right)\)
\(=\left(x+1\right).\left[x.\left(x-1\right)-6\right]\)
\(=\left(x+1\right)\left(x^2-x-6\right)\)
\(x^3-7x+6\\ =x^3-x-6x+6\\ =\left(x^3-x\right)-\left(6x+6\right)\\ =x\left(x^2-1\right)=6\left(x+1\right)\\ =x\left(x+1\right)\left(x-1\right)-6\left(x+1\right)\\\)
\(=\left(x+1\right)\left[x\left(x-1\right)-6\right]\\ =\left(x+1\right)\left(x^2-x-6\right)\)