Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:6/8
K:G
['G2 D', 'fgf d2 g f2 g-']  
X:1
L:1/8
M:6/8
K:G
 G2 D GBd | dGc DBA | c2 B BFG | cDB DAF | G2 D GAB | B2 d- dgf | egd BGA |1 AGF E2 F :|2 
 AGF E2 d || fgf d2 g | f2 g- gag | gdd BGA | AGF E2 d | fgf d2 g | f2 g- g a2 | gfe- e3 | 
 dgb abd | fgf d2 g | f2 g- gag | gdd BGA | AGF G2 D | E2 D EGD | D2 E- EFG | cDB DAG | B2 A AGF ||  