What is the meaning of -gon?

Forms the names of plane figures containing a given number of angles, and thus bounded by that number of line segments (polygons). If the number is large enough, it can take the hyphenated suffix directly.

forms plurals of certain nouns ending with an "i" sound, as opposed to -kon and -di

-gon

-gon

Source: wiktionary.org