solve area-of-a-convex-polygon