The problem with using command polygon

The problem with using command polygon: https: //forum.geogebra.org/viewtopic.php?f=52&t=38370