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$.