Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/4
Q:1/4=100
M:2/4
K:D
['F3 G', 'F A d3/2'  
X:1
L:1/4
Q:1/4=100
M:2/4
K:D
 A | F3 G | A3 B | A f e d | c2 B2 | E3 F | G3 A | B c B A | F3 G | F3 G | A3 B | A f e d | c2 B2 | 
 e2 f2 | g e c3/2 B/ | A A B c | d3 A || F A d3/2 A/ | F A d3/2 c/ | d f e d | c2 B2 | 
 c d e3/2 d/ | c d e3/2 d/ | c d c B | A2 A3/2 G/ | F A d3/2 A/ | F A d3/2 c/ | d f e d | c2 B2 | 
 e2 f2 | g e c3/2 B/ | A A B c | d3 ||  