AB is the diameter of circle O, r is the radius, C is the midpoint of arc AB, arc CD is one-third of arc CB. Connect AD and extend it to intersect tangent line CE of circle O at E (C is the tangent point). Find the length of AE. Express your answer in terms of r.