Answer:
Subtract the interior angle from 180. For example, if the interior angle was 165, subtracting it from 180 would yield 15.
Divide 360 by the difference of the angle and 180 degrees. For the example, 360 divided by 15 equals 24, which is the number of sides of the polygon.