Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:6/8
K:Bmin
['f2 e', 'f2 e', 'ccc BBB', 'f2 e'  
X:1
L:1/8
M:6/8
K:Bmin
|: BBB f2 e | fBB f2 e | BBB f2 e | cAA e2 c | BBB f2 e | fBB f2 e | fga efa | cAA e2 c :: 
 a3 f2 e | fBB f2 e | a3 f2 e | cAA e2 c | a3 f2 e | fBB f2 e | fga efa | cAA e2 c :: BBB ccc | 
 BBB f2 e | ccc BBB | AAA e2 c | BBB ccc | BBB f2 e | fga efa | cAA e2 c :: aga f2 e | fBB f2 e | 
 aga f2 e | cAA e2 c | aga f2 e | fBB f2 e | fga efa | cAA e2 c :|  