To expand this expression, we need to use the distributive property. We can start by distributing 2g to each term inside the parentheses of the second factor and then distributing 7 to each term:
(2g)(3g^2) - (2g)(5g) + (2g)(2) + (7)(3g^2) - (7)(5g) + (7)(2)
Simplifying and combining like terms, we get:
6g^3 - 10g^2 + 4g + 21g^2 - 35g + 14
Finally, combining like terms again, we get the expanded form:
6g^3 + 11g^2 - 31g + 14.
So the expanded form of the expression (2g+7)(3g^2−5g+2) is 6g^3 + 11g^2 - 31g + 14.