Formulate a musical piece by utilizing the specified motif and alphabet-based structure.
X:1
L:1/8
Q:1/4=120
M:2/4
K:A
['B2 c e2 d']  
X:1
L:1/8
Q:1/4=120
M:2/4
K:A
 A2 B2 | c e2 d | c2 B2 | cega | c2 B2 | c e2 d | cABG | A2 A,2 |:  