Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
Q:1/8=80
M:6/8
K:none
['|{g} fed{g}BdB', 'a g{a}fgaf{g}e |{g} defaf{g}e |{g} fdB{g}BAB defaAa', 'edB{g}BAB |{Gdc} d2 f{g}fef fef{g}fef |{g} def{g}fef']  
X:1
L:1/8
Q:1/8=80
M:6/8
K:none
 e |{g} A{d}A{e}A{g}A{d}A{e}A |{g} B{d}B{e}B{g}BdB |{g} A{d}A{e}A{g}Ade |{g} fed{g}BdB || 
{g} A{d}A{e}AAd{e}A |{g} B{d}B{e}B{g}BAB |{g} defaf{g}e |{g} fdB{g}BdB ||{g} B{d}A{e}A{g}Ad{e}A | 
{g} B{d}B{e}B{g}BdB | A{d}B{e}A{g}Ade |{g} fed{g}BdB ||{gAGAG} A2 d{g}dAd |{g} B{d}B{e}B{g}BAB | 
{g} defaf{g}e |{g} fdB{g}BAB |]:{g} def a2{GdG} a | g{a}fgaf{g}e |{g} defaf{g}e |{g} fdB{g}BAB || 
{g} defaAa | g{a}fgaf{g}d | g2{GdG} gf{g}ef |{gef} edB{g}BAB :| |{Gdc} d2 f{g}fef | 
{gfg} fef{g}fef |{g} def{g}fef |{gef} edB{g}BAB |]  