How to find the exterior angle of a polygon