In the diagram, ABCD is a rectangle, BEFG is a square, and F lies on \overline{CE}. Find AD.
The answer is 7.