Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:4/4
K:G
['GABA GFED EFGF edcB', 'G2 Bc dcdc gfed edcB dBAG DFAB']  
X:1
L:1/8
M:4/4
K:G
 D2 | GABA GFED | EFGF edcB | cdef gdBG | A2 A2 A2 d2 | GABA GFED | EFGF edcB | dBGE EcAF | 
 G2 G2 G2 :: Bc | dcdc gfed | edcB dBAG | DFAB cBAG | F2 A2 A2 Bc | dBdg ecea | fdfa gdgb | 
 dBGE EcAF | G2 G2 G2 :|  