the factors of x3−7x+6 are
x9x−6(x−1)
(x2−6)(x−1)
(x+1)(x+2)(x−3)
(x−1)(x+3)(x−2)
x3−7x+6=x3−1−7x+7=(x−1)(x2+x+1)−7(x−1)=(x−1)(x2+x+1−7)=(x−1)(x2+x−6)=(x−1)[x2+3x−2x−6]=(x−1)[x(x+3)−2(x+3)]=(x−1)(x+3)(x−2)