Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/16
M:2/4
K:G
['GFGB AGED GGBd g2(fg) afge', 'gded Bdef']  
X:1
L:1/16
M:2/4
K:G
 (3DEF | GFGB AGED | GGBd g2(fg) | afge dBGB | edBG AGEF | GFGB AGED | GGBd g2(fg) | afge dBGA | 
 Bdc2A G2 :: (3def | gded Bdef | gded Bdef | gfed edcB | Ad^cd efga | gded Bdef | gded Bdef | 
 gfed bagf | g2b2g2 :|  