A right square pyramid is shown. The height of the pyramid is 6 units. The distance from the center of the base of the pyramid to vertex D is 2.5 units, as shown. Find the length of segment AD, in units.