A Square was a specific type of tetragon, which had four equal sides. A cube was composed of six squares.
In 2376, Icheb created a twenty six-sided polyhedron out of clay, composed of hexagons, octagons, and squares. Seven of Nine was impressed by Icheb's work. (VOY: "Ashes to Ashes")