Cartesian equation of regular hexagon