Since AB is the diameter of the larger circle with radius 12 cm, its total length is 24 cm, making the center of the circles the midpoint of AB. The tangent BD is perpendicular to the radius of the smaller circle at the point of tangency D, creating a right triangle where the hypotenuse is the center-to-B distance of 12 cm and the radius is 6 cm. Using the Pythagorean theorem, the distance from the center to D is the square root of (12 squared minus 6 squared), which equals 6 times the square root of 3 cm. Triangle OAD has side OA of 12 cm, side OD of 6 times the square root of 3 cm, and angle AOD of 150 degrees; using the cosine rule, AD squared equals 144 plus 108 minus 2 times 12 times 6 times the square root of 3 times cos(150 degrees), resulting in AD being 6 times the square root of 7 cm.