Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:4/4
K:Bmin
['B2 dc BFFA BBde f3 e dBBA', 'B2 FB'  
X:1
L:1/8
M:4/4
K:Bmin
|: B2 dc BFFA | BBde f3 e | dBBA BFFA | Bffb fedc | dBBA FAFA | BAFE FE D2 | A,B,DE FABc | 
 dfec AB B2 :: d2 c2 B2 FB |[M:6/4] ABFB ABFA Bcde | fbea dfce B2 FB | dBFB A2 ag fedc | 
[M:4/4] d2 c2 B2 FB |[M:6/4] ABBc BAFE FE D2 |[M:4/4] A,B,DE FABc | dfec AB B2 :|  