From the diagram the end points are F
and G 
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
.