I am unable to isolate the variable $x$ of this inequality $y \leq \sqrt{2x-x^2}$ ( where $0 \leq y \leq 1 $)
Is it correct doing this: $y^2 \leq 2x-x^2$? I found that $y^2 \leq x \leq 2-y^2$ and $0 \leq x \leq 2$. Is it correct?
From here I am not sure how to proceed. Thanks in advance for any help.

Let $f(x)=\sqrt{2x-x^2}$
its domain is $[0,2]$.
$$f'(x)=\frac{1-x}{f(x)}$$
the maximum is $f(1)=1$.
Let $y\in[0,1]$
we look for $x$ such that $$x^2-2x+y^2=0$$
which gives two solutions, one in $[0,1]$ and the other in $[1,2]$ : $$x=1\pm\sqrt{1-y^2}$$