Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:4/4
K:Bmin
['B2 B4 B2', 'e2 a6 e2'  
X:1
L:1/8
M:4/4
K:Bmin
|:"D" (fa)(ag)"^A/c#" (gf)fe |"Bm" ef d2- d2 e2 |"F#7" fg(fe) de(dc) |1,3"Bm" B2 d2 f2 b2 :|2,4 
"Bm" B2 B4 B2 ::"Em" e4 e4 |"A" (ed)(dc) c4 | c2 c2 a3 g |"D" (gf)fe f2 d2 |"Em" e4 e4 | 
"A" (ed)(dc) c3 B |"^(F#m)" (A^G)AB (ce)dc |"Bm" B2 B4 B2 ::"Bm" b6 f2 | b6 f2 | (fd')c'b (ab)ag | 
"Em" fa e4 e2 |"A" a6 e2 | a6 e2 | (ab)ag (fg)fe |"Bm" ef d4 f2 ::"Em" gg(gb)"Bm" ff(fb) | 
"Em" ee(eb)"Bm" d3 e |"F#7" (fg)fe (de)dc |1,3"Bm" B2 d2 f2 b2 :|2"Bm" B2 B4 f2 :|4"Bm" B2 B6 :|  