Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/8
M:3/4
K:D
['', 'fa b2 ba fe a2', 'e2 ed']  
X:1
L:1/8
M:3/4
K:D
 FE |: D2 DE FA | B2 BA Bd | e2 ed e2 | f2 fe fa | b2 ba fe | a2 af ed |1 fe dBBd | B2 AF E2 :|2 
 f2 f2 e2 | d2 de fa |: b2 ba fe | a2 af ed | fe dBBd | B2 AF E2 | D2 DE FA | B2 BA Bd |1 
 e2 ed fd | e2 ed fa :|2 e2 ed fe | d3 ||  