Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
M:4/4
K:D
['D2 DF ADFA dfed B3 c dBBA', 'd2 de'  
X:1
L:1/8
M:4/4
K:D
 D2 DF ADFA | dfed B3 c | dBBA dBBA | FADE FDEF | D2 DF ADFA | dfed B3 c | dBBA FAdB | 
 AFEG FD D2 :: dcde fefg | afdf gfed | cdef gebe | gebe gfef | d2 de fefg | afdf gfed | cdef gbag | 
 fdec d2 de | fdec d2 de | fded B3 c | dBBA dBBA | FADE FDEF | D2 DF ADFA | dfed B3 c | dBBA FAdB | 
 AFEG FD D2 :|  