\(\Leftrightarrow x^3-2x^2+x^2-2x+x-2\)
\(\Leftrightarrow x^2\left(x-2\right)+x\left(x-2\right)+\left(x-2\right)\)
\(\Leftrightarrow\left(x-2\right)\left(x^2+x+1\right)\)
`x^3-x^2-x-2`
`=x^3-2x^2+x^2-2x+x-2`
`=(x^3-2x^2)+(x^2-2x)+(x-2)`
`=x^2(x-2)+x(x-2)+(x-2)`
`=(x-2)(x^2+x+1)`
`@` `\text {Ans}`
`\downarrow`
`x^3 - x^2 - x - 2`
`= x^3 - 2x^2 + x^2 - 2x + x - 2`
`= (x^3 - 2x^2) + (x^2 - 2x) + (x-2)`
`= x^2(x - 2) + x(x - 2) + (x-2)`
`= (x^2 + x + 1)(x-2)`