Create a musical piece that includes the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:6/8
K:A
['cBA AEA AEA Bcd', 'Bcd cde', 'Bcd cBA'  
X:1
L:1/8
M:6/8
K:A
 (e/d/) | cBA AEA | AEA Bcd | cBA Ace | dBG Bcd | cBA AEA | AEA Bcd | Ace gfe | dBG Bcd :| 
 cde ef=g | (f/g/a)f ged | cde ef=g | (f/g/a)A Bcd | cde efg | afd bge | afd gec | dBG Bcd :| 
 cBA Aaf | ecA Bcd | cBA =gfe | dBG Bcd | cBA Aaa | Agg Aff | Aee efg | dBG Bcd :|  