Since the topic for this question is "cyclic quadrilaterals", I've been looking for cyclic quadrilaterals in this diagram, but haven't found any so far. What I have found is that $\triangle GEC$ and $\triangle FHC$ are 45-45-90, but that isn't much help to me.
I tried letting $\angle AEG=x$ and $\angle GAF=y$ ($x+y=45$) to angle chase and try to find cyclic quads, but I haven't had much luck.


From similar triangles AGE and ADF, as well as ABE and AHF,
$$\frac{AG}{AD}=\frac{AE}{AF} = \frac{AB}{AH}\implies \frac{AG}5= \frac5{AG+1}$$
which leads to $$AG^2+AG -25=0$$
Solve to obtain
$$AG = \frac12(-1+\sqrt{101})$$