Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:4/4
K:G
['GF G2 G,2 G,2 DC B,DGF GBAG', 'G2 DC B,DGD B,DGD E2 C2 C2'  
X:1
L:1/8
M:4/4
K:G
 GF | G2 G,2 G,2 DC | B,DGF GBAG | A2 A,2 A,2 AG | FA d2 d2 ef | gfed edcB | cBAG GFED | 
 EGFA GBAc | B2 G2 G2 :: DC | B,DGD B,DGD | E2 C2 C2 ED | ^CEAE CEAE | F2 D2 D2 AB | cBcd edcB | 
 cBAG GFED | EGFA GBAc | B2 G2 G2 :|  