Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:2/2
K:A
['(c>d) e>cA>F E>CE>A c>ea>f e>cA>f', 'G>A B>bg>e c>eB>G E>B,E>G B>ef>g'  
X:1
L:1/8
M:2/2
K:A
 (c>d) | e>cA>F E>CE>A | c>ea>f e>cA>f | e>cA>f e>cA>c | B>EG>B e2 (c>d) | e>cA>F E>CE>A | 
 c>ea>f e>cA>f | e>EA>d c>ed>B | A2{g} a2 A2 :|[K:E] G>A | B>bg>e c>eB>G | E>B,E>G B>ef>g | 
 a>Bd>f e>GB>e | d>ec>d B2 G>A | B>bg>e c>eB>G | E>B,E>G B>ef>g | a>fb>a g>eB>G | A>Bd>f e2 :|  