\(x^3-9x^2+6x+16\\=x^3+x^2-10x^2-10x+16x+16\\=x^2(x+1)-10x(x+1)+16(x+1)\\=(x+1)(x^2-10x+16)\\=(x+1)(x^2-2x-8x+16)\\=(x+1)[x(x-2)-8(x-2)]\\=(x+1)(x-2)(x-8)\\Toru\)
\(x^3-9x^2+6x+16\)
\(=x^3-8x^2-x^2+8x-2x+16\)
\(=x^2\left(x-8\right)-x\left(x-8\right)-2\left(x-8\right)\)
\(=\left(x^2-x-2\right)\left(x-8\right)\)
\(=\left(x^2+x-2x-2\right)\left(x-8\right)\)
\(=\left(x+1\right)\left(x-2\right)\left(x-8\right)\)
`#3107.101107`
`x^3 - 9x^2 + 6x + 16`
`= x^3 - x^2 - 8x^2 - 2x + 8x + 16`
`= (x^3 - x^2 - 2x) - (8x^2 - 8x - 16)`
`= x(x^2 - x - 2) - 8(x^2 - x - 2)`
`= (x - 8)(x^2 - x - 2)`
`= (x - 8)(x - 2)(x + 1)`