What is the solution in this question?

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