Factor x^3+2x^2