Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:2/2
K:D
['D F2 GA B2 cd AFED E3', 'd3 e f2 (ed) B2 (dB) AFTED', 'D3 D D2 (EF) (AB)(de) f2 (a/f/)d', 'e f2 (f/e/)d e2 (e/d/)B (AB)(dF) E2'  
X:1
L:1/8
M:2/2
K:D
"_Slow" D | F2 GA B2 cd | AFED E3 A | (GF)(ED) (FA) (dg) | (fe)(dc) d3 :: e | f2 (ed) B2 (dB) | 
 AFTED e2 (de) | (gf)(ed) B2 (df) | (AF)(ED) D3 :: D | D2 (EF) (AB)(de) | f2 (a/f/)d e3 b | 
 (af)(Ted) (Bc)(de) |{de} f2 Ted d3 :: e | f2 (f/e/)d e2 (e/d/)B | (AB)(dF) E2 (ba) | 
 f2 (a/f/)d B2 (A/B/)d | F2 TE>D D3 :|  