Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:6/8
K:G
['E3 E2 c AFD DEF', 'g/a/ bgb afd efg gfe'  
X:1
L:1/8
M:6/8
K:G
|: g | dBG GAB | E3 E2 c | AFD DEF | G3 G2 g | dBG Bcd | E3 E2 c | AFD DEF | G3 G2 :: g/a/ | 
 bgb afd | efg gfe | dBg dBG | AFD D2 g/a/ | bgb afd | efg gfe | faf ge^c | d3 de=f | ece dBd | 
 cAc BGB | Ace dBG | F3 DEF | GAB EFG | ABc def | gdB cAF | G3 G2 :|  