Answer
$M=\dfrac{Fr^2}{-Gm}$
Work Step by Step
Using the properties of equality, in terms of $
M
,$ the given equation, $
F=\dfrac{-GMm}{r^2}
,$ is equivalent to
\begin{array}{l}
Fr^2=-GMm
\\\\
\dfrac{Fr^2}{-Gm}=M
\\\\
M=\dfrac{Fr^2}{-Gm}
.\end{array}