Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:4/4
K:A
['A2 ae cBAc', 'ABcd ecBA'  
X:1
L:1/8
M:4/4
K:A
 A2 ae cBAc | BAGB gdBG | A2 ae cBAc | BGdB cAAB :: ABcd ecBA | BGBd gdBG |1 ABcd ecBA | 
 BGdB cAAB ||2 AcBd cedf | edcB cAAB ||  