Centroid of an Arbitrary Hexagon
Given an arbitrary hexagon, construct exterior equilateral triangles on each side. Connect the centers of opposite triangles. The midpoints of the three lines form an equilateral triangle with the same center as the centroid of the hexagon.
When a side is too close to the center of the drawing area, a spurious result may occur.