Using the given motif as a foundation, craft a musical piece adhering to the outlined form.
X:1
L:1/8
M:2/4
K:Bmin
['B,D FB dc BA ^AB c^A', 'ec de dB c^A F2 fg fd'  
X:1
L:1/8
M:2/4
K:Bmin
|: B,D FB | dc BA | ^AB c^A | Bc dB | B,D FB | dc BA | ^AB c^A |1 B2 B2 :|2 B2 de |: fg fd | 
 ef ec | de dB | c^A F2 | fg fd | ef ec | dB cA | B2 B2 :|  