a: \(x^3-2x+4\)
\(=x^3+2x^2-2x^2-4x+2x+4\)
\(=\left(x+2\right)\left(x^2-2x+2\right)\)
b: \(x^3-4x^2+12x-27\)
\(=\left(x-3\right)\left(x^2+3x+9\right)-4x\left(x-3\right)\)
\(=\left(x-3\right)\left(x^2-x+9\right)\)
c: \(x^3+2x^2+2x+1\)
\(=\left(x+1\right)\left(x^2-x+1\right)+2x\left(x+1\right)\)
\(=\left(x+1\right)\left(x^2+x+1\right)\)