Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
M:4/4
K:Bmin
['B2 dB', 'bafd e2', 'AcFA A2 FA B2', 'bafd effe dBAF A2'  
X:1
L:1/8
M:4/4
K:Bmin
 B2 dB BcdB | AcFA A2 FA | B2 dB ABde | faec dBBA | B4 BcdB | AcFA A2 FA | B2 dB ABde | 
 (3fga ec dB B2 || bafd e2 fe | dBAF A2 fa | bafd e2 de | fbba b2 c'b | afed effe | dBAF A2 FA | 
 B2 dB ABde | faec dBBA || FBdB FBdB | AcFA A2 FA | B2 dB FBde | faec dBBA | B2 B2 BcdB | 
 AcFA A2 FA | B2 de ABde | (3fga ec dB B2 || bafd effe | dBAF A2 fa | bafd e2 de | fbba bc'c'b | 
 bafd effe | dBAF A2 FA | FBdB ABde | faec dB B2 ||  