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:
![h=\sqrt[]{OP^2-b^2}](https://img.qammunity.org/2023/formulas/mathematics/college/8nsf0qa03lo1uip5sywth2x2pgnvbc66m9.png)
Replacing the values:
![\begin{gathered} h=\sqrt[]{10^2-8^2} \\ h=\sqrt[]{100-64} \\ h=\sqrt[]{36} \\ h=6 \end{gathered}](https://img.qammunity.org/2023/formulas/mathematics/college/1dl481eilqi8xca0yclaob451u50j0884v.png)
Since this segment has the same length as AB we have:
