Formulate a musical piece by utilizing the specified motif and alphabet-based structure.
X:1
L:1/4
M:2/2
K:D
['B A']  
X:1
L:1/4
M:2/2
K:D
|:"D" F3/2 F/ F E |"Bm" F A B A |"G" d3/2 d/ d A |"A7" B A E2 |"D" F3 F F E |"Bm" F A B A | 
"G" d3/2 d/ d A |"A7" B c"D" d2 ::"D" d3/2 d/ d e |"Bm" d c B A |"D" d3/2 d/ d e |"Bm" d e f2 | 
"D" d3/2 d/ d e |"Bm" d c B A |"G" B3/2 c/ B A |"A7" B c"D" d2 :|  