Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:4/4
K:A
['(3AAA (A>F){GF} E2', 'c>AA>c (ef)ec (ef){g} a2 (e>f)e>c fBBc (e>f)e>c'  
X:1
L:1/8
M:4/4
K:A
 c | (3AAA (A>F){GF} E2 (E>F) | (3AAA (A>c){c} dBBc | (3AAA (A>F){GF} E2 (EF) | 
 A2 (B>d){d} c>AA>c :| (ef)ec (ef){g} a2 | (e>f)e>c fBBc | (e>f)e>c (e>f){g}a>f | ecdB{d} cAAc | 
 (e>f)e>c (e>f){g} a2 | (e>f)ec fBBc | (e>f)ed c>e{g}a>f | ecdB{d} cAA ||  