Solve. Separate multiple solutions with commas. Be sure to reduce all solutions completely. 

9(g2+1)5=3(g3+g)4\displaystyle \frac{{{9}{\left({g}^{{2}}+{1}\right)}}}{{5}}=\frac{{{3}{\left({g}^{{3}}+{g}\right)}}}{{-{{4}}}}