Artificial intelligent assistant

Focus of parabola with directrix $x=2$ and vertex not at origin? This is a question I found: > A tangent is drawn to a parabola at the point $(12,6)$ to meet the directrix at $\left( 2,{8\over 3} \right)$. If focus lies on the x axis then what is the equation of the parabola? From this it can be deduced that directrix is $x=2$, and that the whole parabola along with directrix are located in the first quadrant. Therefore the origin is certainly not at the vertex. The coordinates of the focus are given in the solution as $(4,0)$, but how can I get them? If the vertex had been the origin I could have used the fact that the distance from the vertex to the directrix is equal to the focal length, but here I don't know what to do. How do I approach this problem?

The equation of parabola is $$y^2=2p(x-a)$$ so the focus is at $F(a+{p\over 2},0)$ and the equation of tangent is $x-3y+6=0$.

Since a general equation of tangent at $T(x_0,y_0)$ if $y_0\
e 0$ is $$y={p\over y_0}x +p{x_0-2a\over y_0}$$ we get ${p\over y_0} ={1\over 3}$ and $p(x_0-2a)=2y_0$, so $p=2$ and $a= 3$, so parabola is $$y^2=4(x-3)$$

* * *

Or you can do like this:

Since ${1\over 3} = {p\over 6}$ we get $p=2$ so $F(a+1,0)$. Let $T'(2,6)$ be orthogonal projection on directrix. Now the midpoint $M({a+3\over 2},3)$ of a segment $T'F$ is on tangent, so ${a+3\over 2}-9+6=0$ so $a=3$.

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 1732ebc7ed08aae9bac16ffc9b86773d