Answer:
d = 2F / (g - m).
Step-by-step explanation:
2F = gd - md Factoring the right side:
2F = d(g - m)
2F / (g - m) = d.