******************************************************
a) \(x^3-5x^2+8x-4=x^3-x^2-4x^2+4x+4x-4\)
\(=x^2\left(x-1\right)-4x\left(x-1\right)+4\left(x-1\right)\)
\(=\left(x-1\right)\left(x^2-4x+4\right)=\left(x-1\right)\left(x-2\right)^2\)
b) \(x^3-3x+2=x^3+2x^2-2x^2-4x+x+2\)
\(=x^2\left(x+2\right)-2x\left(x+2\right)+\left(x+2\right)\)
\(=\left(x+2\right)\left(x^2-2x+1\right)=\left(x+2\right)\left(x-1\right)^2\)
c) \(x^3-5x^2+3x+9=x^3+x^2-6x^2-6x+9x+9\)
\(=x^2\left(x+1\right)-6x\left(x+1\right)+9\left(x+1\right)\)
\(=\left(x+1\right)\left(x^2-6x+9\right)=\left(x+1\right)\left(x-3\right)^2\)
d) \(x^3+8x^2+17x+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+5\right)\left(x+1\right)\)
e) \(x^3+3x^2+6x+4=x^3+x^2+2x^2+2x+4x+4\)
\(=x^2\left(x+1\right)+2x\left(x+1\right)+4\left(x+1\right)\)
\(=\left(x+1\right)\left(x^2+2x+4\right)\)
f) \(x^3+3x^2+3x+2=x^3+2x^2+x^2+2x+x+2\)
\(=x^2\left(x+2\right)+x\left(x+2\right)+\left(x+2\right)\)
\(=\left(x+2\right)\left(x^2+x+1\right)\)