Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:4/4
K:A
['', 'A/B/A (GA)', 'GBBg aA A/A/(A e)AcA GABc defg a/a/(a'  
X:1
L:1/8
M:4/4
K:A
 cB |: A/B/A (GA) FAEc | BEcE dEcB | A/B/A (GA) FAEc | BEGB AdcB | A/B/A (GA) FAED | CEA(c dc)df | 
 e^de(=g fd)fa |1 ^gbe(g af)ec :|2 ^gbeg aefg |: aA A/A/(A e)Ac(A | dc)BA GBBg | aA A/A/(A e)AcA | 
 GABc defg | a/a/(a g)(b ae)ce | f(dBA) GBed | ceAc dfBa |1 gbeg aefg :|2 gbeg afec ||  