junk = (x-3)x(x-2)(x-1)

junk1 = Integrate[junk,x]

Note: junk1 is the derivative of junk.

Plot[junk1,{x,-3,4}]