a, x2-5xy+2x-10y = (x2 + 2x)-(5xy+10y)
= x(x+2)-5y(x+2)
= (x+2)(x-5y)
b, x2-5x+4 = x2- x - 4x +4
= (x2-x)-(4x-4)
=x(x-1)-4(x-4)
=(x-1)(x-4)
\(a,x^2-5xy+2x-10y\)
\(=\left(x^2-5xy\right)+\left(2x-10y\right)\)
\(=x\left(x-5y\right)+2\left(x-5y\right)\)
\(=\left(x-5y\right)\left(x+2\right)\)
\(b,x^2-5x+4\)
\(=x^2-4x-x+4\)
\(=x\left(x-4\right)-\left(x-4\right)\)
\(=\left(x-1\right)\left(x-4\right)\)