Formulate a musical piece by utilizing the specified motif and alphabet-based structure.
X:1
L:1/8
M:4/4
K:D
['B2 A2']  
X:1
L:1/8
M:4/4
K:D
 A2 B2 A2 B2 | A2 B3 A2 | A2 B2 A2 B2 | A c2 A c2 B2 | ABcA B2 A2 | ABcA B2 A2 | ABcd egfe | 
 d6 B2 :|  