Write an equation with solutions -1, 2, and 3.
Using the factor theorem (This states that if r is a solution to f(x)=0, then (x−r) is a factor of f(x)), we have f(x)=(x+1)(x−2)(x−3)=x3−4x2+x+6.