Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
M:2/2
K:Bmin
['B3 e fB B2 afec ABcA', 'B3 c'  
X:1
L:1/8
M:2/2
K:Bmin
 B3 e fB B2 | afec ABcA | B2 aB gBfB | e3 f edcA | B3 e fB B2 | afec ABcA | Bf f2 af f2 |1 
 edcd B3 A :|2 edcd B3 c |: dAFA defd | cAce aece | BF F2 GAce | dcAc B3 c | d3 c defd | 
 cAce aece | Bf f2 af f2 |1 edcd B3 c :|2 edcd B3 A ||  