Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:6/8
K:D
['F2 F FED', 'dcd AFA (B/c/d)B AFA dcd efg', 'd2 e f2 g afd ecA']  
X:1
L:1/8
M:6/8
K:D
 (A/G/) | F2 F FED | DED FED | F2 F FED | E2 F G2 A | F2 F FED | DED FED | (B/c/d)B cAG | 
 E2 F G2 :| | (3(A/B/c/) | dcd AFA | (B/c/d)B AFA | dcd efg | fed cBA | dcd AFA | (B/c/d)B AFA | 
 dcd efg | fdd d2 :| | (3(A/B/c/) | d2 e f2 g | afd ecA | Acd ecA | (A/B/c)d ecA | d2 e f2 g | 
 afd ecA | (A/B/c)d eag | fdd d2 :|  