This appears to be part of an online quiz or test. It is MHB policy not knowingly to help with any problem that counts towards a user's grades, as per http://mathhelpboards.com/rules/. Please PM me if you have any thoughts or concerns or questions.
I'm reviewing Meirovitch's "Methods of Analytical Dynamics," and I don't understand the commutation of the derivative from r to dr:
$$
\mathbf{F} \cdot d\mathbf{r} = m \ddot{\mathbf{r}} \cdot d\mathbf{r} = m\mathbf{\dot{r}} \cdot d\mathbf{\dot{r}}
$$