Formulate a musical piece by utilizing the specified motif and alphabet-based structure.
X:1
L:1/8
M:4/4
K:A
['A/A/A cA eAAf eAAa fedc', 'eg aA', 'cAAg aAAa fedc']  
X:1
L:1/8
M:4/4
K:A
 A/A/A cA eAAf | eAAa fedc | Bcde fBBg | aBBa gfea | A/A/A cA eAAf | eAAa fedc | defa fecf |1 
 ecBc f2 ec :| ecBc f2 eg || aA A/A/A cAAg | aAAa fedc | bB B/B/B dBB^a | bBB=a gfeg | 
 aA A/A/A cAAg | aAAa fedc | defa fecf |1 ecBc f2 eg :|2 ecBc f2 ec ||  