Implement calculateRegularPolygonAngle and calculatePolygonSidesFromAngle