Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
M:3/4
K:D
['az/(f g)z/(e f)z/d/- d(c A2) F2- F(G', '(3BdB A2- A>G G>F F>A'  
X:1
L:1/8
M:3/4
K:D
 [df]3 f a2- | az/(f g)z/(e f)z/d/- | d(c A2) F2- | F(G E)G- G(F | D)(F A)(d f)a | af (3(gag) fg | 
 (3(efe) d2 fa | ag (3bgb ba | af [df]2 fa- | az/(f g)z/(e f)z/d/- | d(c A2) F2- | F(G E)G- G(F | 
 D)(F A)(d f)a | af (3(gag) fg | (3(efe) d2 fa | g>b a4 :: d2 (3BdB A2- | A>G G>F F>A | 
 d2 (3BdB A2- | A>G G>F F>A | (3(BcB) A>F A>G | E>F D>E F>G | Ad (3BdB A2- | A>G G>F F>A | 
 d2 (3BdB A2- | A>G G>F F>A | (3(BcB) A>F A>G | (3(EFE) D4 :|  