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:D
['edA BdB AFA', 'd2 e']  
X:1
L:1/8
Q:1/8=160
M:6/8
K:D
 B | AFA daf | edA BdB | AFA dfe | fdc d/e/dB | AFA a/b/af | edA BdB | AFA d2 e | fdc d2 :| e | 
 fef afe | dBA d2 e | faf ede | fdB d2 e | fef afe | dBA d2 e | faf ede |1 fdc d2 :|2 fdc d3- | 
 d6 |]  