In a sequence of shapes, a triangle is followed by a square, then a pentagon, then a hexagon.What shape comes next?