Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/4
M:4/4
K:G
['G A2 A2 z']  
X:1
L:1/4
M:4/4
K:G
 z G B d |"C" e2 e2 | z e/f/ e d |[M:2/4] B/A/ B |[M:4/4]"G" d2 d2 | z A/A/ B d |"C" e2 e2 | 
 z e/f/ e d |[M:2/4] B/A/ G |[M:4/4]"D" A2 A2 | z D/D/ E G |"Am" A2 A2 | z A/B/ A G | 
[M:2/4] E/D/ E |[M:4/4]"G" G2 G2 | z D/D/ E G |"Am" A2 A2 | z A/B/ A G |[M:2/4] E/D/ E | 
[M:4/4]"G" G2 G2 |]  