taylor sorts 6 shapes in two groups based on attributes

As seen from the figure:
Group 1: It consists of three closed figures each having six sides. So these are all hexagons.
Group 2: It consists of three closed figures each having four sides.
All four are quadrilaterals.
So we can say that group 1 consists of hexagons and group two consists of quadrilaterals.