We have to make use of the below theorem to solve this problem.

If a secant segment and tangent segment are drawn to a circle from the same external point, the product of the length of the secant segment and its external part equals the square of the length of the tangent segment.