Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
['GE D2 DE G2 GA'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
"^Hornpipe, moderato" GE |"G" D2 DE G2 GA | BGB<d cBAG |"D" FGEF DEFG |"D" AFd<F"C" E2 GE | 
"G" D2 DE G2 GA | BGB<d"C" efge |"G" dcBA"D" GFGA |"G" B2 G2 G2 :: (3(def) |"G" g2 gf gbag | 
"D" f2 fe fagf |"C" edef gfed |"Em" B2 e2 e2 (3(gfe) |"G" dBG<B d2 (3(Bcd) |"C" edef g2 ge | 
"D" dcBA GFGA |"G" B2 G2 G2 :|  