Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:9/8
K:G
['c Bdc BGG Bdc Bdc BGB cAF', 'G2 D GBd gdB cBA GBd gfg'  
X:1
L:1/8
M:9/8
K:G
 c | Bdc BGG Bdc | Bdc BGB cAF | Adc BGG BGB | c2 B AFA G2 :: D | GBd gdB cBA | GBd gfg adB | 
[M:6/8] A2 B cBA |[M:9/8] d2 c BAG BAB | c2 B AFA G2 :|  