a: \(=7x\left(y-4\right)^2+\left(y-4\right)^3\)
\(=\left(y-4\right)^2\cdot\left(7x+y-4\right)\)
b: \(=5x\left(x-2y\right)+2\left(x-2y\right)^2\)
\(=\left(x-2y\right)\left(5x+2x-4y\right)=\left(x-2y\right)\left(7x-4y\right)\)
c: \(=\left(x-y+5-1\right)^2=\left(x-y+4\right)^2\)
e: \(=\left(x+5\right)\left(x^2-5x+25\right)-x\left(x+5\right)\)
\(=\left(x+5\right)\left(x^2-6x+25\right)\)