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