Create a piece of music utilizing the given motif and adhering to the specified structure.
X:1
L:1/8
M:9/8
K:A
['c2 A', 'ecA BBB BAB c2 A |[M:6/8] d2'  
X:1
L:1/8
M:9/8
K:A
|: efe c2 A BAA | efe c2 A Bcd | efe c2 A BAA |[M:6/8] d2 c BAA ::[M:9/8] BBB BAB c2 A | 
 ddd def ecA | BBB BAB c2 A |[M:6/8] d2 c BAA :|  