Answer:
g = 2H/(m + r)
Step-by-step explanation:
mg + rg = 2H
g(m + r) = 2H
(g(m + r))/(m + r) = 2H/(m + r)