Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:3/4
K:C
['E>F G>A G>F', 'd>c B>A G2 A>B'  
X:1
L:1/8
M:3/4
K:C
|: E>F G>A G>F | E>F G2 C2 | E>F G>A G>F | E>c B2 D2 | A>B c>d e>d | c>e d2 G2 | A>B c>B (3cde | 
 d>B c2 C2 :: e>f g>a g>e | d>c B>A G2 | A>B c>d c>A | G>F E>D C2 | e>f g>f e2 | d>c B>A G2 | 
 A>B c>B c>e | (3dcB c2 C2 :|  