`(x+3)(x-4)(x+2)`
`=(x^2-4x+3x-12)(x+2)`
`=(x^2-x-12)(x+2)`
`=x^3+2x^2-x^2-2x-12x-24`
`=x^3+x-14x-24`
\(\left(x+3\right)\left(x-4\right)\left(x+2\right)=\left(x^2+3x-4x-12\right)\left(x+2\right)=\left(x^2-x-12\right)\left(x+2\right)=x^3-x^2-12x+2x^2-2x-24=x^3+x^2-14x-24\)