I have an equation here, t=((arccos(sqrt(x/r))+sqrt((x/r)*(1-(x/r))))/sqrt(2m))*r^(3/2).

or if you are a visual person:

This equation is used to calculate the amount of time it takes to fall from height r, to height x, depending on what m (Gravitational Parameter, m is substituted for mu) is. I need to rearrange this equation in such a way that when I have everything except for x, I can find it in terms of all the other variables. So basically, I want to turn the above equation into x = ?. I have been working on this problem for 3+ hours now, and used up 3-4 sheets of graphing paper trying to find x in terms of r, t, and m. I have come to the conclusion that there is some process or operation I have to do which I haven't yet learned in school (This is what I do with my free time, this isn't schoolwork as I am only a highschool freshman). I have tried squaring both sides, subtracting and adding variables, multiplying and dividing by variables, and nothing seems to separate the equation how I want to. Can somebody please show me what process one may use to isolate x?