Investigating regular and irregular polygons