Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/4
Q:1/4=120
M:4/4
K:D
['A3/2 A/']  
X:1
L:1/4
Q:1/4=120
M:4/4
K:D
 A | A3/2 A/ A d | c B A A | A3/2 A/ A G | F3 G | A3/2 A/ A d | c B A A | A3/2 B/ c B | A3 A | 
 G3/2 G/ G A | F3/2 G/ A B | =c3/2 c/ c d | B3 B | e3/2 d/ c B | A3/2 G/ F A | B3/2 B/ B d | c3 B | 
 A3/2 G/ F A | d =c B B | A3/2 A/ c c | d3 |]  