Simplify 2h^3g+3(hg^3)+7h^2g^2+5h^3g+2(hg^3)