I have a function $y(x)$ defined via a parameter as $y(t)$ and x(t). Using a common convention of the dot for $\dfrac{d}{dt}$ and prime for $\dfrac{d}{dx}$, I understand that:
$$\dot{y}=y'\dot{x}$$
I need a similar formula for the second derivative, but I am having a hard time finding it. My own math is a bit rusty, so this is what I've been able to figure:
$$\ddot{y}=y''\dot{x}^2+y'\ddot{x}$$
If this is off, what is the correct formula? Sorry for a trivial question and thanks for your help!