Find the derivative of the function g(x)=ex2+2x\displaystyle {g{{\left({x}\right)}}}=\frac{{{e}^{{x}}}}{{{2}+{2}{x}}}

g(x)=\displaystyle {g}'{\left({x}\right)}=