Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/4
M:4/4
K:G
['D G']  
X:1
L:1/4
M:4/4
K:G
 D | G G A A | d (d/c/) B A | D G A A | d c A2 | d d/c/ B G | c (A/G/) F D | G B E G | F D D2 | 
 d2 c A | B G (F/E/) D | G3 z |]  