Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/4
M:4/4
K:G
['G G', 'A3 d2'  
X:1
L:1/4
M:4/4
K:G
 d/ c/ | B G G G | B d2 c/ B/ | A B c3/2 d/ | e3 f | g a/ g/ f e/ f/ | g G G G | G A B3/2 c/ | 
 A3 d/ c/ | B G G G | B d2 c/ B/ | A B c3/2 d/ | e3 f | g a/ g/ f e/ f/ | g G G G | G A B3/2 c/ | 
 A3 || d2 | g3 ||  