Relationship between number of sides and perimeter of a polygon