Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:3/4
K:D
['f2 e>f'  
X:1
L:1/8
M:3/4
K:D
|:"D" f2 e>f d2 | f2 e>f d2 |"A7" e2 e>d c>d | e>d c>B A2 |"D" f2 e>f d2 | f2 e>f d2 | 
"A7" e2 e>d c>d | e2"D" d4 ::"D" d>f a2 a2 |"G" g>a b>a g>f |"A7" e>f g2 g2 |"D" f>g a>g f>e | 
"Bm" d>e f2 f2 |"Em" e>f g>f e>d |"A7" c>d e>A B>c | e2"D" d4 :|  