Please help me, I do not understand how to factor out 2x^2+4x-2x^3.

-2x(x+1)(x-2)