TeX source:
6x^3+12x^2-3x=3x(2x^2+4x-1)