Solving the Hexagon Problem