Multiply by (r^2)/F and take the square root.
(r²/F)·F = G·(m×M)/r²·(r²/F)
r² = G·m·M/F
[tex]r=\sqrt{\dfrac{GmM}{F}}[/tex]