Suppose you have a function $y = y(x(t))$. By taking the first derivative wrt t we would get:
$$ \frac{dy}{dt} = \frac{dy}{dx} \frac{dx}{dt} $$
I'm a bit stuck trying to determine the second derivative, but this is what I have right now:
$$ \frac{d^{2}y}{dt^{2}} = \frac{d^{2}y}{dx^{2}} \frac{dx}{dt} + \frac{dy}{dx}\frac{d^{2}x}{dt^{2}}$$
I know this isn't correct though but i'm not exactly sure what I am missing.