Eliminate parentheses using the distributive property.
... -1 -7g +42 +6g = 36
... 41 -g = 36 . . . . collect terms
... 41 -36 = g . . . . add g-36 to both sides
... 5 = g . . . . . .. . . your answer