\(x^2-y^2+5x-5y\)
\(=\left(x-y\right)\left(x+y\right)+5\left(x-y\right)\)
\(=\left(x-y\right)\left(x+y+5\right)\)
\(---\)
\(x^2-16y^2+4x+4\)
\(=\left(x^2+4x+4\right)-16y^2\)
\(=\left(x+2\right)^2-\left(4y\right)^2\)
\(=\left(x+2-4y\right)\left(x+2+4y\right)\)
\(=\left(x-4y+2\right)\left(x+4y+2\right)\)
\(---\)
\(3x^2+6xy+3y^2-12\)
\(=3\left(x^2+2xy+y^2-4\right)\)
\(=3\left[\left(x+y\right)^2-2^2\right]\)
\(=3\left(x+y-2\right)\left(x+y+2\right)\)
\(---\)
\(4x^3+4x^2+x\)
\(=x\left(4x^2+4x+1\right)\)
\(=x\left(2x+1\right)^2\)