So for the proof of Kepler's first law they make a simplification of a differential equation, but I don't get how they come up with that simplification. It goes like this
$$2\frac{dr}{dt}\frac{d\theta}{dt}+r\frac{d^2\theta}{dt^2}=0$$ once simplified (which I don't understand) they came up with this answer $$\frac{1}{2r}\frac{d}{dt}\left(r\left(\frac{d\theta}{dt}\right)^2\right)=0$$ could someone please explain to me what they did?
thanks in advance.