Bài 3:
a: \(10x\left(x-y\right)-8y\cdot\left(y-x\right)\)
\(=10x\left(x-y\right)+8y\left(x-y\right)\)
\(=\left(x-y\right)\left(10x+8y\right)\)
\(=2\left(5x+4y\right)\left(x-y\right)\)
b: \(5x\left(x-2000\right)-x+2000\)
\(=5x\left(x-2000\right)-\left(x-2000\right)\)
\(=\left(x-2000\right)\left(5x-1\right)\)
Bài 4:
a: \(\left(a-b\right)\cdot x+\left(b-a\right)y-b+a\)
\(=\left(a-b\right)\cdot x-\left(a-b\right)\cdot y+a-b\)
\(=\left(a-b\right)\left(x-y+1\right)\)
b: \(\left(a+b-c\right)\cdot x^2-\left(c-a-b\right)\cdot x\)
\(=x^2\left(a+b-c\right)+\left(a+b-c\right)\cdot x\)
\(=x\left(a+b-c\right)\left(x+1\right)\)