Answer
$6g^3+11g^2-31g+14$
Work Step by Step
$\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 3g^2-5g+2$
$\underline{\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ 2g+7}$
$\ \ \ \ \ \ \ \ \ \ \ 21g^2-35g+14\longrightarrow$ multiply by 7
$\underline{6g^3-10g^2+\ \ 4g\ \ \ \ \ \ \ \ \ }\longrightarrow$ multiply by 2g
$6g^3+11g^2-31g+14\ \longrightarrow$ combine like terms