perimeter and area of regular polygon