Having an spheroid $S$ of semi-major axis $a$ in the equatorial plane in direction $x-axis$ and $y-axis$, and of semi-minor axis $b$ in direction $z-axis$.
$(S): (\frac{x}{a})^2+(\frac{y}{a})^2+(\frac{z}{b})^2=1$
A plane $(P): ux+vy+wz=d$ intersects $S$ That yields an ellipse $E$ in 3D.
I Intersected $S$ and $P$, I got a quadratic equation of quadratic conics, in the form: $(E): Ax^2+Bxy+Cy^2+Dx+Ey+F=0$
After equating and solving, I got the coefficients of the ellipse $E$
$A=(wb)^2+(ua)^2$ $B=2uv(a)^2$ $C=(wb)^2+(va)^2$ $D=-2du(a)^2$ $E=-2dv(a)^2$ $F=a^2(d^2-(bw)^2)$
My question is as follow:
I have a point $M(i,j,k)$ lying in the plane of intersection, and it is outside the ellipse $E$, how to find the coordinates of the two tangent points $B$ and $C$ from the point $M$ to the ellipse $E$?


Equation of the ellipsoid:
$$\frac{x^2+y^2}{a^2}+\frac{z^2}{b^2}=1 \tag{1}$$
Equation of the polar plane w.r.t. $M$:
$$\frac{ix+jy}{a^2}+\frac{kz}{b^2}=1 \tag{2}$$
Equation of the plane $P$ containing $M$:
$$ux+vy+wz=d \tag{3}$$
under the constraint $ui+vj+wk=d$.
In principle, $(1) \cap (2) \cap (3)$, which is the required intersections, is solvable with discriminant $$\frac{i^2+j^2}{a^2}+\frac{k^2}{b^2}-1>0$$