I've got to get $\frac{d^2y}{dx^2}$, given the parametric equations: $x=t^6-9$ and $y=t-t^2$ At first, I tried to take the derivatives with respect to $t$, of $x$ and $y$ since $\frac{dy}{dx}=\frac{dy/dt}{dx/dt}$ which gave me: $\frac{1-2t}{6t^5}$
Next, I differentiated that $\bigg($this assumes $\frac{d^2y}{dx^2}=\frac{d}{dt}\bigg[\frac{dy/dt}{dx/dt}\bigg]$$\bigg)$ which gave: $$\frac{(-2)(6t^5)-(1-2t)(30t^4)}{(6t^5)^2}$$ but this isn't equal to $\frac{d^2y}{dx^2}$
So, my next attempt was to get the 2nd derivatives of $x$ and $y$ $\bigg($this assumes $\frac{d^2y}{dx^2}=\bigg[\frac{d^2y/dt^2}{d^2x/dt^2}\bigg]$$\bigg)$ but this doesn't equal $\frac{d^2y}{dx^2}$ either:
$$\frac{d^2x}{dt^2}=30t^4$$ and $$\frac{d^2y}{dt^2}=-2$$ Next, divide to get: $$\frac{d^2y}{dx^2}=\frac{-2}{30t^4}$$ But that's wrong too... what am I doing wrong?
Let's take $z = \frac{dy}{dx}$.
Now, $$\frac{d^2y}{dx^2} = \frac{d}{dx}\left(\frac{dy}{dx}\right)= \frac{dz}{dx} = \frac{dz}{dt}\cdot\frac{dt}{dx} = \dfrac{\dfrac{dz}{dt}}{\dfrac{dx}{dt}} = \dfrac{\dfrac{d}{dt}(\frac{1-2t}{6t^5})}{\dfrac{d}{dt}(t^6-9)}$$