Answer:
[tex]2g-m=5-gh \: solve \: for \: g[/tex]
[tex]2g+gh=5+m[/tex]
[tex]g(2+h)=5+m[/tex]
[tex]g=(5+m)/(2+h)[/tex]
[tex]Thank \: you!!!![/tex]