Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:4/4
K:Edor
['E3 B BAFA', 'B2 eB', 'BAGF EFGA']  
X:1
L:1/8
M:4/4
K:Edor
|: E3 B BAFA | EDEB BAFD | E3 B BAFA | BcdB ADFA :: B2 eB fBeB | B2 eB AFDF |1 B2 eB fBeB | 
 BcdB AFDF :|2 Bdeg fdec | d2 dA BAFD || B2 EB GBEB | B2 EB AFDF |1 B2 eB GBEB | BcdB AFDF :|2 
 Bdeg fdec | d2 dA BAFD |: BAGF EFGA | B2 GB A2 GA | BAGF EFGA | BcdB AFDF :|  