Create a composition based on the provided motif, following the specified musical structure.
X:1
L:1/8
M:4/4
K:Bmin
['AB B2 dB B2 ABBA BAGA F3', 'z cBA'  
X:1
L:1/8
M:4/4
K:Bmin
 AB B2 dB B2 | ABBA BAGA | F3 E FG F2- | FEFG AGFE | AB B2 dB B2 | ABBA BAGA | F3 E FG F2- |1 
 FEFG F2 z2 :|2 FEFG ABde |: f3 d B3 d | e3 c A3 G | F3 E FG F2- | FEFG ABde | f3 d B3 d | 
 e3 c A3 c | BcdB cd e2 |1 z cBA BA (3Bcd :|2 z cBA B2 z2 ||  