Construct musical melodies following the designated letter arrangement and the given motif.
X:1
L:1/4
M:4/4
K:D
['G A']  
X:1
L:1/4
M:4/4
K:D
 d | d A/A/ A G/F/ | F2 E F | G B A G | F A d2 | z3 F | E3/2 E/ F G | A c e c/c/ | d3/2 B/ e c | 
 A2 z A/G/ | F/E/F/F/ F z | A/A/A/B/ A z | A G/F/ G A | F A d z | F/E/F/G/ F z | A/A/A/B/ A z | 
 A/G/G/G/ G A | F2 z |]  