Is the first term 1/(2g) or (1/2)g = g/2?
+(-g) is the same as -g.
Add the two terms, whatever they are.
1/2g+-g= ?
2 answers
Since g is a common factor, you may remove it and just do the "work" as normal arithmetic:
(1/2)g + (-g) = g * (1/2 - 1)
(1/2)g + (-g) = g * (1/2 - 1)