So I am trying to follow an example where we evaluate the integral $\int_{\partial D} xy \space dx,$ where D is the quarter-disk in the first quadrant, using Green's theorem. I'm realizing how lost I am when it comes to parameterizations. So the example says
$$\int_{\partial D} xy \space dx = - \iint_D x \space dx \space dy = - \iint r \space cos\theta \space r\space dr\space d\theta,$$
and it is the second equality that I have trouble understanding. I understand the $r \space cos\theta$ part, but I'm not sure why there is a second $r$ mixed in there.

That is the Jacobian for Polar coordinates (https://math.oregonstate.edu/home/programs/undergrad/CalculusQuestStudyGuides/vcalc/jacpol/jacpol.html)
Basically when converting from Cartesian coordinates to Polar coordinates, $dx\,dy$ becomes $r\,drd\theta$.
There is also a nice explanation here: Explain $\iint \mathrm dx\,\mathrm dy = \iint r \,\mathrm \,d\alpha\,\mathrm dr$