Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:4/4
K:A
['C3 D EFAB cfec BAFA B F3', 'aece f B3 dcBA'  
X:1
L:1/8
M:4/4
K:A
 C3 D EFAB | cfec BAFA | B F3 dcBA | GBAF EFED | C3 D EFAB | cfec BAFA | B F3 dcBA |1 EAGB AFED :|2 
 EAGB ABcd || e3 f edcd | eaag aece | f B3 dcBA |1 GBAF E2 cd | e3 f edcd | eaag aece | f B3 dcBA | 
 EAGB ABcd :|  