Develop music that conforms to the outlined musical structure and the given theme.
X:1
L:1/8
M:4/4
K:Bmin
['B2 F2', 'B2 Affa f2 d2 A4 ABAF G2'  
X:1
L:1/8
M:4/4
K:Bmin
|: Bcdc B2 F2 | Bcdc B2 F2 | B3 c d3 B | c f3 c f3 | Bcdc B2 F2 | Bcdc B2 F2 | f3 g (3fgf e2 |1 
 (3ded c2 B2 F2 :|2 (3ded c2 B2 (3BcB |: A2 a3 a f2 | d3 d d2 B2 | Affa f2 d2 | A4 ABAF | 
 G2 e4 f2 | e3 e cAce | a2 g2 B2 c2 |1 f2 (3ded c2 (3BcB :|2 dfec d2 F2 ||  