How do you find the product 6g2(3g3+4g2+10g1)?