The idea behind Green's Theorem is that the curl of a vector field is a measure of the infinitisimal circulation ("swirl") caused by the vector field at a point. So Green's theorem states that, if we want the circulation along a closed path, we can take the area integral of all the "swirl" inside the curve, which all in a sense cancels out, leaving only the circulation on the boundary.

The curl for a vector field $\vec{F} = \langle F_x, F_y, F_Z \rangle$ is defined as:
$$ \nabla \times \vec{F} = \begin{vmatrix} \vec{i} & \vec{j} & \vec{k} \\ \frac{\partial}{\partial x} & \frac{\partial}{\partial y} & \frac{\partial}{\partial z} \\ F_x & F_y & F_z \end{vmatrix} $$
its direction gives the axis of rotation of the infinitisimal circulation (oriented by the right-hard rule), and its magnitude is the infinitisimal circulation.
Green's Theorem is the application of this to a 2D case where we take $F_z = 0$, working with a vector field in the $x$-$y$ plane. In this case, the curl points in the $\vec{k}$ direction and we simply use the scalar curl, the magnitude of the curl:
$$ \nabla \times \vec{F} = \frac{\partial F_y}{\partial x} - \frac{\partial F_x}{\partial y} $$
In this problem, you have the area integral
$$ \iint_{D} (x + 2y)\, dA $$
where $D$ is the region enclosed by the plane curve mentioned and the x-axis.
In order to use Green's theorem, we need a vector field whose curl is $x + 2y$.
One such vector field is
$$ \vec{F}(x,y) = \left\langle -y^2 ,\frac{x^2}{2} \right\rangle $$
and so take the the line integral:
$$ \int_{\partial D} \vec{F}(\vec{x}) \cdot d\vec{s}$$
where $\partial D$ is the oriented boundary of the region $D$. It is important to note that it is oriented:

we must traverse the boundary in a counterclockwise direction, and the parametrization given is (1) only the arc, not the flat line, and (2) clockwise starting from the origin to the right. So we parametrize the lower line as:
$$ \vec{x}_1(t) = \langle t,0 \rangle \qquad t \text{ from } 0 \text{ to } 2\pi $$
and the curve as
$$ \vec{x}_2(t) = \langle t-\sin t,1 - \cos t \rangle \qquad t \text{ from } 2\pi \text{ to } 0 $$
so we have:
\begin{align*}
\iint_{D} (x + 2y)\, dA &= \int_{\partial D} \vec{F}(\vec{x}) \cdot d\vec{s} \\
&= \int_0^{2\pi} \vec{F}(\vec{x}_1(t)) \cdot \vec{x}_1'(t) dt + \int_{2\pi}^0 \vec{F}(\vec{x}_2(t)) \cdot \vec{x}_2'(t) dt \\
&= \int_0^{2\pi} \langle 0, t^2/2 \rangle \cdot \langle 1,0 \rangle \, dt - \int_0^{2\pi} \langle -(1-\cos t)^2, (t-\sin t)^2/2 \rangle \cdot \langle 1 - \cos t, \sin t \rangle \, dt \\
&= \int_0^{2\pi} 0 \, dt - \int_0^{2\pi} \left[\sin t (t- \sin t)^2/2 -(1-\cos t)^3 \right] dt \\
&= \int_0^{2\pi} \left[(1-\cos t)^3 - \sin t (t- \sin t)^2/2 \right] dt \\
&= \pi(3\pi + 5) \\
\end{align*}