The value of g would be 3.5.
I got this by simplifying like terms, which in this case you can start by adding five to both sides to get -
7g = 3g +14
You can then subtract 3g from both sides -
4g = 14
and finally you just divide both sides by 4 to get g by itself. This leaves you with -
g = 3.5