Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/8
M:4/4
K:A
['EFAB c2', 'A2 efec eAae faec BABc efec efac'  
X:1
L:1/8
M:4/4
K:A
 EFAB c2 af | ecBA F2 AF | EFAB c2 ca | ecBc A2 :| efec eAae | faec BABc | efec efac | ecBc A2 :|  