what does g mean in the equation -6g +36 =12

Who knows, it is not defined.

But I can tell that its value is 4