Simplify x/x to 1 and add to other side then multiply by x:
[tex]
s = (\sqrt{\frac{{q}_{2}}{q}_{1}} + 1)x[/tex]
Finally divide to get x alone:
[tex]
x = \frac{s}{\sqrt{\frac{{q}_{2}}{q}_{1}} + 1}[/tex]
So that's my final answer, which I'm pretty sure is correct but then I usually make some careless error. (Sorry if I showed too many baby steps with the algebra there.)