Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:6/8
K:G
['g2 d e2', 'd2 B']  
X:1
L:1/8
M:6/8
K:G
|: d^c=c | B2 B BAG | B2 d g2 d | e2 e gdB | A2 d ^c2 =c | B>cB BAG | B>cd g2 d | e2 g f<af | g3 :: 
 d2 g | b2 b agf | g2 e d2 B | c>de d>BG |1 A3 ff/g/a | b^ab a2 f | gfg d2 B | cAe d<gf | g3 :|2 
 A2 D FF/G/A | B^AB B2 G | BB/c/d g2 d | ee/f/g f<af | g3 ||  