Take the square root of both sides. Note: since I'm assuming that "r" is the distance, this means that we're only considering the positive square root.
You can put this solution on YOUR website! solve w=C*r^-2 for r
----------
Rewrite:
w = C/r^2
r^2 = C/w
r = +/-sqrt[C/w]
====================
Cheers,
Stan H.