Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:9/8
K:G
['G2 g', 'B2 B cBc dBG'  
X:1
L:1/8
M:9/8
K:G
|: d | G2 g ege dBG | G2 g e/f/ge f2 d | G2 g ege dBG | A2 g e/f/ge f2 :: d | B2 B cBc dBG | 
 B2 G cA/B/c d2 G | B2 B cBc dBG | A2 g e/f/ge f2 :|  