Area of triangles and segments