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