Yes, sorry, I wasn't really looking at this properly the first time, and just glanced at Schrodinger's Dog's attempt and it looked right; however it is not. What he was doing was taking \frac{d^2y/dt^2}{d^2x/dt^2}, however this is of course not correct, since this does not equal d2y/dx2. You should follow your textbook. The correct way to approach the second derivative is to use the chain rule; letting y'=dy/dx: \frac{dy'}{dt}=\frac{dy'}{dx}\frac{dx}{dt} which then gives the formula for the second derivative of y wrt x:\frac{d^2y}{dx^2}=\frac{dy'/dt}{dx/dt}.
Sorry for advising incorrectly!