Let $K$ be a circle with center $C=(x_0,y_0)$ and radius $r$. For each point $P=(p_1, p_2)$ outside the circle let $g_P$ be the line that passes through the intersection points of the tangent from $P$ at the circle and the circle.
I want to find the equation of the line $g_p$ (polar).
I have done the following:
Let $A=(a_1, a_2)$ and $B=(b_1, b_2)$ be the two intersection points.
Since $g_p$ passes through these two points the line has the equation of the form: $$g_P : y=\frac{b_2-a_2}{b_1-a_1}(x-a_1)+a_2$$
The points $A,B$ are on the circle, so we have the following two relations: $$(a_1-x_0)^2+(a_2-y_0)^2=r^2 \\ (b_1-x_0)^2+(b_2-y_0)^2=r^2$$
We also have that the triangle MBP and AMP are both right triangles so we could use the Pythagorian Theorem, or not?
$$$$
EDIT:
The equation that we are looking for is \begin{equation*}y-a_2=\frac{b_2-a_2}{b_1-a_1}(x-a_1) \Rightarrow y=\frac{b_2-a_2}{b_1-a_1}(x-a_1)+a_2\end{equation*} Since from $A$ and $B$ the tangent passes through we have that \begin{equation*}(x-x_0)(a_1-x_0)+(y-y_0)(a_2-y_0)=r^2 \ \text{ und } \ (x-x_0)(b_1-x_0)+(y-y_0)(b_2-y_0)=r^2\end{equation*}
Since $P$ is on that tangent we have that
\begin{equation*}(p_1-x_0)(a_1-x_0)+(p_2-y_0)(a_2-y_0)=r^2 \ \text{ und } \ (p_1-x_0)(b_1-x_0)+(p_2-y_0)(b_2-y_0)=r^2\end{equation*}
Is everything correct so far?