I need to change integration order of
$\int_{1}^{2}\int_{2-x}^{\sqrt{2x-x^2}}f(x,y)dydx$
The region is bounded between $1\leq x\leq2$ and $0\leq y\leq1$
The upper limit, $y=\sqrt{2x-x^2}$ in terms of x is:
$x=1+\sqrt{1-y^2}$ or $x=1-\sqrt{1-y^2}$
How to determine which of them is the correct upper limit, by the graph, or by algebraic way?