I can't wrap my brain around this today.
If you have hexagons attached to the edges of a pentagon in 2D, how far must you rotate two of the hexagon around their common edge with the pentagon, to bring their common edge into alignment?
That is, how do you calculate it. It might be sqaures around a triangle, or pentagons around a square etc.