1+x^2=x^2-2xt+t^2\Rightarrow{2xt=t^2-1\Rightarrow{x=\frac{t^2-1}{2t}}}