What is the value of g in -6g plus 36 equals 12?

If: -6g+36 = 12 then the value of g is = 4