Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:4/4
K:D
['EFGA B2 ed B2 Ac', 'Beed e2 de fedc Bcde']  
X:1
L:1/8
M:4/4
K:D
 EFGA B2 ed | B2 Ac BcdB | AF F2 DF F2 | AFBF AFED | EFGA B2 ed | B2 Ac Bcde | fedB AF F2 | 
 BFAF E4 :: Beed e2 de | fedc Bcde | fede f3 g | fedc BAFA | Beed e2 de | fedc Bcde | fedB AF F2 | 
 BFAF E4 :|  