what is midpoint of a segment and types of angles?