In a given regular polygon, the ratio of the exterior angle to the interior angles…