If D is the midpoint of EG, find the length of EG.
A. 6
B. 12
C. 18
D. 21
A. 6