Let $\vec{r}(t)=(x(t),y(t))$ , $\dot{\vec{r}}=(v_x(t),v_y(t))$ and put the sun at the origin. Using Newtons second law show that the following equations hold- $$\dot{x}=v_x\\ \dot{y}=v_y\\ \dot{v}_x=-k\frac{x}{(x^2+y^2)^{\frac{3}{2}}}\\ \dot{v}_y=-k\frac{y}{(x^2+y^2)^{\frac{3}{2}}}.$$
In and earlier question we were given the gravitational potential energy as $V(\vec{r})=-k\frac{m}{r}$ where $m$ and $k$ are constant. I am assuming that this is also relevant to the above question.
I am unsure in how to approach the problem. In the first equation for example do I assume that $x$ is the polar coordinate $r\cos\theta$? In which case how to I take the derivative with respect to time? Likewise for the 3rd and 4th equations, I am guessing that $|\vec{r}|=x^2+y^2$ but I don't understand how one arrives at the given derivative.
Thankful for all help.