Form a musical piece based on the provided motif while observing the defined structure.
X:1
L:1/8
M:4/4
K:A
['BEBc d2']  
X:1
L:1/8
M:4/4
K:A
 e2 cA eAAc | eAcA BEEc | e2 cA eAcA | BEBc d2 cd | e2 cA eAAc | eAcA BEBc | eAcA eAcA | 
 BEBc d2 cd | cAc/d/e cAAd | cAc/d/e BEEd | cAc/d/e cAAc | BEBc d2 cB | cAc/d/e cAAd | 
 cAc/d/e BEEd | cEeE dEcE | BEBc d2 cd |]  