I got as far as finding: $$\frac{dy}{dt}=\frac{dy}{dx}\frac{dx}{dt}$$
But when taking the second derivative I end up with the following mess:
$$\frac{d^2y}{dt^2}=\frac{d\frac{dy}{dx}}{dt}\frac{dx}{dt}+\frac{dy}{dx}\frac{d^2x}{dt^2}$$
Is there a way to simplify $\frac{d\frac{dy}{dx}}{dt}$ or am I making a mistake in my application of the derivative?