I am having problems understanding how to solve the following parametric equation. I have achieved an answer, but am unsure if my answer is correct or not.
Eliminate t to give an equation that relates x and y:
$x= \sec(t)$, $y=\tan^2(t)-2$
must solve for:
$y=$
My solution
$t = \sec^{-1}(x)$
Insert this value of $t$ in the equation for $y$.
$y=\tan^2(\sec^{-1}(x))-2$
Supplementary notes: for a point on the the curve:
$f(t)= \sec(t)$
$g(t)=\tan^2(t)-2$
where $z$ is some number
$P_{point}(f(z),g(z))$
Please confirm or reject my answer.

From "supplementary notes" onwards I don't quite understand. An easier way is using that $\tan^2t + 1 = \sec^2t$, so that: $$y = \tan^2t-2 = 1+\tan^2t - 3 = \sec^2t - 3 = x^2-3.$$