Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
Q:1/8=180
M:2/4
K:D
['d2 e2 de f2 c2 (BA) B2']  
X:1
L:1/8
Q:1/8=180
M:2/4
K:D
 uf |"Bm" B2 B2 Bcde |"Bm" f2 B2"E7" B2 (cB) |"A" A2 A2 ABcd | e2 a2 c2 A2 |"Bm" d2 cd"Em" e2 de | 
"D" f2 a2"A" c2 (BA) |"Bm" B2 b2"F#7" fedc |"Bm" B4 B | A2 |"D" d2 d2 d2 A2 | defg afed | 
"A" c2 A2 e2 A2 | cdef e2 c2 |"Bm" d2 cd"Em" e2 de |"D" f2 a2"A" c2 (BA) |"Bm" B2 b2"F#7" fedc | 
"Bm" B4 B2 :|  