a) \(2x^2-2xy-5x+5y\)
\(=y\left(5-2x\right)-x\left(5-2x\right)\)
\(=\left(5-2x\right)\left(y-x\right).\)
b) \(8x^2+4xy-2ax-ay\)
\(=2x\left(4x-a\right)+y\left(4x-a\right)\)
\(=\left(2x+y\right)\left(4x-a\right)\)
c) \(x^3-4x^2+4x\)
\(=x\left(x^2-4x+4\right)\)
\(=x\left(x-2\right)^2\)
d) \(2xy-x^2-y^2+16\)
\(=-\left(x^2-2xy+y^2-4^2\right)\)
\(=-\left[\left(x-y\right)^2-4^2\right]\)
\(=-\left(x-y-4\right)\left(x-y+4\right)\)
e) \(x^2-y^2-2yz-z^2\)
\(=x^2-\left(y^2+2yz+z^2\right)\)
\(=x^2-\left(y+z\right)^2\)
\(=\left(x-y+z\right)\left(x+y+z\right)\)
g) \(3a^2-6ab+3b^2-12c^2\)
\(=3\left(a^2-2ab+b^2-4c^2\right)\)
\(=3\left[\left(a-b\right)^2-\left(2c\right)^2\right]\)
\(=3\left(a-b-2c\right)\left(a-b+2c\right)\)