How do you find the product 6g^2(3g^3+4g^2+10g-1)?