Find the first derivative of g(x)=8excos(x2)\displaystyle {g{{\left({x}\right)}}}={8}{e}^{{x}}{\cos{{\left({x}^{{2}}\right)}}}.

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