A 24-sided regular polygon has an angle measure represented as 5g°.

Determine the value of g.

g = 33
g = 165
g = 36
g = 180