\(x^4-4x^3+8x^2-16x+16 \)
\(=x^3\left(x-2\right)-2x^2\left(x-2\right)+4x\left(x-2\right)-8\left(x-2\right)\)
\(=\left(x-2\right)\left(x^3-2x^2+4x-8\right)\)
\(=\left(x-2\right)\left[x^2\left(x-2\right)+4\left(x-2\right)\right]\)
\(=\left(x-2\right)^2\left(x^2+4\right)\)