Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:6/8
K:D
['FDF ABc dAG FED', 'afd gec']  
X:1
L:1/8
M:6/8
K:D
|: AG | FDF ABc | dAG FED | G3 FGA | BGE EAG | FDF ABc | dAG FED | dfa gec | dAF D :: df | 
 afd gec | dAG FED | G3 FGA | BGE E2 f | afd gec | AG FED | dfa gec | dAF D :|  