rotating a hexagonl in 2D

I’m a new to it, my assigment is I have a hexagon and I have to swirl it at the same time increasing the size of it. it how do I approach it?

Look at the following function calls:

glMatrixMode
glLoadIdentity
glPushMatrix
glPopMatrix
glTranslatef
glRotatef
glScalef