\(5x\left(x-1\right)-x\left(x-1\right)\)
\(=\left(x-1\right)\left(5x-x\right)\)
\(=4x\left(x-1\right)\)
b) \(x^2\left(x+1\right)-x\left(x+1\right)\)
\(=\left(x+1\right)\left(x^2-x\right)\)
\(=x\left(x+1\right)\left(x-1\right)\)
c) \(x^2+4y^2+4xy\)
\(=\left(x+2y\right)^2\)