In the figure above, if the area of triangle CAF is equal to the area of rectangle CDEF, what is the length of segment AD?