Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
['efg edB AGG G2 A BdB AGA', 'egg egg']  
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
 d | efg edB | AGG G2 A | BdB AGA | BAA ABd | efg edB | AGG G2 A | BdB AGA | BGG G2 :| d | 
 egg egg | egg ged | eaa eaa | eaa aed | egg egg | egg ged | efg edB |1 AGG G2 :|2 AGG G3- | G6 ||  