Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:6/8
K:Bmin
['B2 f fed B/c/de ABc', 'A d3 def A3 a2 g f3'  
X:1
L:1/8
M:6/8
K:Bmin
|: B2 f fed | B/c/de ABc | d2 B fBb | afg fdc | B2 f fed | B/c/de ABc | d3 efg | fdc B2 A :: 
 d3 def | A3 a2 g | f3 fed | cde Aec | Bcd cde | def efa | bBb afg | fdc B2 A :|  