
Since

, it follows that

where the sign depends on the location of the terminal side of the angle. Since the terminal side lies in the fourth quadrant, that means the cosine of the angle is positive, so
Exterior angles always add up to 360 degrees so for 30-gon each exterior angles is 12 degrees (360/30)
To get the interior angles you subtract 180 from 12 to get 168 degrees
Your answer is 6 because 6 is the smallest number that is divisible by both 2 and 3