first way:
the exterior angle is equal to 180 - the interior angle.
the sum of the exterior angles is always equal to 360 degrees.
find the exterior angle and divide it into 360 and you get the number of sides.
second way:
the formula for finding the interior angle is:
interior angle = (n-2) * 180 divided by n
since you already know the interior angle, use this formula to find n.