From the diagram the end points are G
and H 
The midpoint of a segment with end points
is
(Substitute
)
(Add:
)
(Divide:
)
So,the midpoint of the segment
is 
The midpoint of the segment
is
.