We are given the common tangent of two circles. To determine the value of AB we need to form a right triangle and apply the Pythagorean theorem. The triangle will be formed by segment OP as the hypotenuse and the segment from O to the point where the perpendicular line to OA that passes through P as one of its sides. The length of this side is:
The value of segment OP is:
Applying the theorem:
Replacing the values:
Since this segment has the same length as AB we have: