a) \(x^3+2x^2y+xy^2-9x\)
\(=x\left(x^2+2xy+y^2-9\right)\)
\(=x\left[\left(x+y\right)^2-3^2\right]=x\left(x+y+3\right)\left(x+y-3\right)\)
b) \(2x-2y-x^2+2xy-y^2\)
\(=2\left(x-y\right)-\left(x-y\right)^2=\left(x-y\right)\left(2-x+y\right)\)
c) \(x^2-2x-4y^2-4y\)
\(=\left(x^2-4y^2\right)-\left(2x+4y\right)\)
\(=\left(x-2y\right)\left(x+2y\right)-2\left(x+2y\right)\)
\(=\left(x+2y\right)\left(x-2y-2\right)\)