Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:4/4
K:D
['f2 e2 e2'  
X:1
L:1/8
M:4/4
K:D
 AB |"D" d3 e f2 a2 |"A7" gfed"D" f4 |"Em" f2 e2 e2 de |"A7" f2 e2 e2 dB |"D" d3 e f2 a2 | 
"A7" gfed"D" f2 ef |"Bm" d2 B2 B2 AB |"G" d2 B2"Bm" B2 :: g2 |"D" a3 g"A7" f2 ef | 
"D" d2 Be"Bm" f4 |"Em" f2 e2 e2 de |"A7" f2 e2 e2 g2 |"D" a3 g"A7" f2 ef |"D" d2 Be"Bm" f2 ef | 
"Bm" d2 B2 B2 AB |"G" d2 B2"Bm" B2 :|  