Feel free to consult the details in my answer to 24438105 if you wish to compute the line integral directly. I don't see any specification of which method to use, so I'll do it the faster way.
By Green's theorem,
Since D is a disk with radius 2 centered at the origin, consider converting to polar coordinates using x = r cos(t ) and y = r sin(t ). Then