Develop melodies by incorporating the given motif and following the suggested musical layout.
X:1
L:1/4
M:2/4
K:D
['B A F', 'd e'  
X:1
L:1/4
M:2/4
K:D
 D3/2 E/ | F A d3/2 e/ | d3/2 e/ f/e/d/c/ | B A F E | F2 E D | F A G B | A F D F | E2 E3/2 F/ | 
 E2 D3/2 E/ | F A d3/2 e/ | d3/2 e/ f/e/d/c/ | B A F E | F2 E D | F A d B | A F E F | D2 D3/2 E/ | 
 D2 :| c d | e A A3/2 ^G/ | A2 d e | f B B A | B2 d3/2 e/ | f d e c | d B A3/2 F/ | F E E3/2 F/ | 
 E2 D3/2 E/ | F A d3/2 e/ | d3/2 e/ f/e/d/c/ | B A F E | F2 E D | F A d B | A F E F | D2 D3/2 E/ | 
 D2 :|  