Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/4
Q:3/4=112
M:9/4
K:Dmix
['G2 G G3/2 A/ G', 'E E2'  
X:1
L:1/4
Q:3/4=112
M:9/4
K:Dmix
 G2 G G3/2 A/ G G2 D | G2 G G3/2 A/ G F2 D | E2 E E2 E E3/2 F/ G | A2 G F2 E D2 D :| 
 G2 G G3/2 B/ c d2 G | G2 G G2 A/B/ c2 E | E2 E E2 E E2 F/G/ | A2 G F2 E D2 D :|  