$$\iint_Cy dxdy, \quad C=\{(x,y)\colon0\leqslant x\leqslant2+y-y^2\}.$$
It is simple to see $x=2+y-y^2$ is a parabola with the symmetry axes is $x$ and the vertex $(9/4,1/2)$. It is easy to find the limits of the $x$ : $0\le x\leq 9/4$. Why the limits of the $y$ are: $$\frac{1}{2}\left(1-\sqrt{9-4 x}\right)\leqslant y\leqslant \frac{1}{2}\left(\sqrt{9-4 x} +1\right)\quad ?$$
What is the technique to derive the limitations of $y$ (or $x$)? Is there a correlation with the limits of $x$ seen that we have $\sqrt{9-4x}$?