I think I've figured out a Different way to Answer this question (made more intuitive sense to me at least).
Step 1: Call the Center of the Left Circle Point O and the Center of the Right Circle Point P
Connect a Straight Line from Center O to Center P.
Call the Point where this Line intersects Tangent CD - Point X
Step 2: Connect 2 Radii from Each Center to its respective Point of Tangency.
Radius drawn from Center O to A creates a 90 Degree Perpendicular Angle
Radius drawn from Center P to B creates a 90 Degree Perpendicular Angle
Since both Radii are Equal, Opposite Sides that are Parallel to each other and they create 2 Adjacent 90 degree Angles, this creates a Rectangle from Points: ABPO
If we can find the Length of Side OP, this will be Equal to the Length of AB --- which is what the Q is asking for.
Step 3:
Connect Center O to Point of Tangency C. Forms a 90 Degree Perpendicular Angle
Also Connect Center P to Point of Tangency D. Forms a 90 Degree Perpendicular Angle.
You now have 2 Triangles that are Congruent based on the A-A-A Similarity Rule and the Fact that both have an Equal Corresponding Side = Radius of 5 (OC and PD)
Triangle COX --- is Congruent to ---- Triangle DPX
Step 4:
We are told that CD = 24 meters.
Because of Point X, we have cut Line CD into Line CX and Line XD.
CX and XD are both opposite the Same Corresponding Equal Angles in the 2 Triangles. This means that the Line CD = 24 must be Bisected at Point X and Each Corresponding Leg of the 2 Congruent Right Triangles = 12
Step 5:
Lastly, Both Triangles are Congruent 5 - 12 - 13 Triangles
Hypotenuse OX = 13
Hypotenuse XP = 13
and Line OP = 26, which is Equal to and Parallel to Line AB in the Rectangle created at the outset.
Thus, Answer is:
Line AB = Line OP = 26 in
If too hard to follow and if anyone cares, I can draw a Diagram.