problem: 4x^3-24x

would this be the answer to the problem?

4x(x^2-6)

Yes.