a ) \(x^2-9+\left(x-3\right)\)
\(=\left(x-3\right)\left(x+3\right)+\left(x-3\right)\)
\(=\left(x-3\right)\left(x+3+1\right)\)
\(=\left(x-3\right)\left(x+4\right)\)
b ) \(x^3-4x^2+4x-xy^2\)
\(=x\left(x^2-4x+4-y^2\right)\)
\(=x\left[\left(x-2\right)^2-y^2\right]\)
\(=x\left(x-2-y\right)\left(x-2+y\right)\)
c ) \(x^3-4x^2+12x-27\)
\(=\left(x^3-27\right)-\left(4x^2-12x\right)\)
\(=\left(x-3\right)\left(x^2+3x+9\right)-4x\left(x-3\right)\)
\(=\left(x-3\right)\left(x^2+3x+9-4x\right)\)
\(=\left(x-3\right)\left(x^2-x+9\right)\)
d ) \(3x^2-7x-10\)
\(=3x^2+3x-10x-10\)
\(=\left(3x^2+3x\right)-\left(10x+10\right)\)
\(=3x\left(x+1\right)-10\left(x+1\right)\)
\(=\left(x+1\right)\left(3x-10\right)\)
e ) \(5x^3-5x^2y-10x^2+10xy\)
\(=\left(5x^3-5x^2y\right)-\left(10x^2-10xy\right)\)
\(=5x^2\left(x-y\right)-10x\left(x-y\right)\)
\(=\left(x-y\right)\left(5x^2-10x\right)\)
\(=5x\left(x-y\right)\left(x-2\right)\)
f ) \(3x^3-6xy+3y^2-12z^2\)
\(=3\left(x-2xy+y^2-4z^2\right)\)
\(=3\left[\left(x-y\right)^2-\left(2z\right)^2\right]\)
\(=3\left(x-y-2z\right)\left(x-y+2z\right)\)