g - (-31)= -7 awnser thus
G - (-31) = -7G + 31 = -7G = -7 - 31G = -38In short, Your Answer would be -38Hope this helps!
\(g - (-31)=-7\\ g--31=-7\\ g+31=-7\\ g=-38\)So g = -38.