Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:6/8
K:D
['FAA AFE', 'E F3 F2 F EFG A2 F']  
X:1
L:1/8
M:6/8
K:D
|: d3 dcd | edc d2 d | ABB BAF | FAA AFE | DDD DEF | ABA AFE | FAA AFE |1 DDD D2 c :|2 FDD D3 |: 
 CDD DCD | EDC D2 E | F3 F2 F | EFG A2 F | G3 dBG | FGd BGE | DDD EFG |1 FDD DDD :|2 FDD D3 ||  