how to simplify the product
2n(n^2+3n+4)