Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:4/4
K:C
['E>G G>c A>G c<G E<G G>A ce', 'a/g/f/e/ d2'  
X:1
L:1/8
M:4/4
K:C
 E>G G>c A>G c<G | E<G G>A ce d2 | E>G G<c A>G A<c | defa ge d2 :| c>def gcge | c>def a/g/f/e/ d2 | 
 c>d e<f g<c g>e | f>g a<g a/g/f/e/ d2 | c>def gcge | c>def a/g/f/e/ d2 | c>d e<f g<c g>e | 
 fagc' ef d2 ||  