Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
Q:1/8=270
M:6/8
K:D
['dAd fdf ada fdf gAg fdf', 'd2 f'  
X:1
L:1/8
Q:1/8=270
M:6/8
K:D
 A | dAd fdf | ada fdf | gAg fdf | ece Aaf | dAd fdf | ada fdf | gAg fdf | eAc d2 :: f | gec gec | 
 dAf daf | gec gec | dfd A2 F | DFA FAd | Adf dfa | gec ABc | d2 f d2 :|  