\(x^3-8y^3-2xy\left(x-2y\right)=\left(x-2y\right)\left(x^2+2xy+4y^2\right)-2xy\left(x-2y\right)\)
\(=\left(x-2y\right)\left(x^2+2xy+4y^2-2xy\right)=\left(x-2y\right)\left(x^2+4y^2\right)\)
\(2x^2-3x-2=2x^2-4x+x-2=2x\left(x-2\right)+x-2=\left(2x+1\right)\left(x-2\right)\)
a)(x3-2x2y)+(4xy2-8y3)=x2(x-2y)+4y2(x-2y)=(x-2y)(x2+4y2)
b)(2x2-4x)+(x-2)=2x(x-2)+(x-2)=(x-2)(2x+1)