Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:6/8
K:G
['BAG EFG ABc', 'ed^c d2']  
X:1
L:1/8
M:6/8
K:G
 B3 BAG | EFG ABc | dgg efg | fed cAF | DBB BAG | EFG ABc | dge fed |1 cAF G2 A :|2 cAF G2 z |: 
 Ad^c dfa | agf g3 | A^ce efg | gfe f2 e | d^cd a^ga | bag gfg | age A^ce |1 ed^c d2 B :|2 
 ed^c d2 =c ||  