Angles of a hexagon formula