I know this is a very low level question, but I honestly can't remember how this is done. I want to solve for y with this: $$ x = 2.0 \cdot \arctan\left(\frac{\sqrt{y}}{\sqrt{1 - y}}\right) $$ And I thought I could do this: $$ \frac{\sqrt{y}}{\sqrt{1 - y}} = \tan\left(\frac{x}{2.0}\right) $$
But it seems like I've done something wrong getting there. Could someone break down the process to get to $y =$ ?
Again, I know this is very basic stuff, but clearly I'm not very good at this.

sqrt(y)/sqrt(1 - y) = 1/sqrt(1/y - 1)if $y \not = 0$, so do things like squaring, taking reciprocals and adding $1$ to both sides – Henry Dec 14 '12 at 18:11