a) \(3x^2-6x=3x\left(x-2\right)\)
b) \(2xy+2xyz=2x\left(1+z\right)\)
c) \(15x^2y-9x^2y^2=3x^2y\left(5-3y\right)\)
d) \(27x^3+6x^2=3x^2\left(9x+2\right)\)
e) \(2x^2\left(x-3\right)-x\left(x-3\right)x\left(2x-1\right)\left(x-3\right)\)
f) \(x\left(x-1\right)-y\left(1-y\right)=\left(x+y\right)\left(x-1\right)\)