This follows the property where the square of the length of the tangent from an external point is equal to the product of the intercepts of the secant passing through this point. Consider the following figure:
View attachment 36906
Here,
.
The same applies to your question, i.e.
.