\(a,5x^2y-10xy^2=5xy\left(x-2y\right)\\ b,x^2+2xy+y^2-5x-5y=\left(x+y\right)^2-5\left(x+y\right)=\left(x+y\right)\left(x+y-5\right)\\ c,x^2-6x+8=\left(x^2-2x\right)-\left(4x-8\right)=x\left(x-2\right)-4\left(x-2\right)=\left(x-2\right)\left(x-4\right)\\ d,5x^2-10xy+5y^2-20z^2=5\left(x^2-2xy+y^2-4z^2\right)=5\left[\left(x-y\right)^2-\left(2z\right)^2\right]=5\left(x-y-2z\right)\left(x-y+2z\right)\)