Develop a musical piece using the given motif and adhere to the outlined structure.
X:1
L:1/8
M:4/4
K:A
['', 'A a2 a fgaf dfed c2 ec', 'ecAc BABc d2 cB'  
X:1
L:1/8
M:4/4
K:A
 AB |: c2 B2 A a2 a | fgaf dfed | c2 ec AcBc | d2 BA Bfed | cd Bc A a2 a | fgaf dfed | 
 c2 ec AcBc |1 dBEB A2 AB :|2 dBEB AABc |: d3 e f2 ed | ceAc ecAc | BABc d2 cB | AEAB cABc | 
 d3 e f2 ed | ceAc ecAc | BABc d2 cB |1 Aaec AABc :|2 Aaec A2 AB ||  