Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:6/8
K:Amix
['e e3', 'a3 a2 f e2 A A3 c2'  
X:1
L:1/8
M:6/8
K:Amix
 c2 c cBA | c2 e e3 | a2 afa | f2 e e3 | c2 c cBc | f2 e e3 | f2 a fec | B3 A3 :: a3 a2 f | 
 e2 A A3 | c2 c cBc | f2 e e3 | a3 a2 f | e2 A A3 | c2 c e2 c | B3 A3 :|  