Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:2/4
K:G
['gg fd gg']  
X:1
L:1/8
M:2/4
K:G
 d | gg fd | gg fd | gg f/e/d | e3 d | e>d ef | gg B>c | dd c/B/A | (G2 G>)A | BB/B/ B/A/G/A/ | 
 B G2 A | BB/B/ B/A/G/A/ | B2 d2 ||  