a) x²-2xy+x-xz+2yz-z=(x²-xz)-(2xy-2yz)+(x-z)=x(x-z)-2y(x-z)+(x-z)=(x-z)*(x-2y+1)
b) a³-ab-a²b+a²=(a³-a²b)+(a²-ab)=a²(a-b)+a(a-b)=(a²+a)(a-b)
a) x²-2xy+x-xz+2yz-z=(x²-xz)-(2xy-2yz)+(x-z)=x(x-z)-2y(x-z)+(x-z)=(x-z)*(x-2y+1)
b) a³-ab-a²b+a²=(a³-a²b)+(a²-ab)=a²(a-b)+a(a-b)=(a²+a)(a-b)