\(\overrightarrow{DE}=\overrightarrow{DA}+\overrightarrow{AE}=-2\overrightarrow{AB}+\frac{2}{5}\overrightarrow{AC}\)
\(\overrightarrow{DG}=\overrightarrow{DA}+\overrightarrow{AG}=-2\overrightarrow{AB}+\frac{1}{3}\overrightarrow{AB}+\frac{1}{3}\overrightarrow{AC}=-\frac{5}{3}\overrightarrow{AB}+\frac{1}{3}\overrightarrow{AC}=\frac{5}{6}\left(-2\overrightarrow{AB}+\frac{2}{5}\overrightarrow{AC}\right)\)
\(\Rightarrow\overrightarrow{DG}=\frac{5}{6}\overrightarrow{DE}\Rightarrow\overrightarrow{DE}=\frac{6}{5}\overrightarrow{DG}\Rightarrow x=\frac{6}{5}\)