Question: Strange Polygon Wanted

What we are looking for is a flat polygon with N corners and side lengths 1,..., N, which has a maximum surface area.
BTW:
1.) I am a Maple newbie and would like to get to know the diversity and power of the Maple world. For this reason, I occasionally post tasks here from various areas of mathematics and of varying difficulty levels in order to learn from the answers. Of course, I know the solutions to these tasks. So these are not homework.
2.) I have difficulty subsequently inserting text at any point in working worksheets. I keep getting error messages because "or" or ";" is missing. What am I doing wrong?

Please Wait...