Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/4
M:3/4
K:D
['F A']  
X:1
L:1/4
M:3/4
K:D
 D F A | G G/E/ C | E G B | A A/G/ F | G E C | E3 | D2 z | F A d | e e/d/ c | ^G B d | c c/B/ A | 
 d B ^G | B3 | A2 z |]  