Generate music with the following musical form represented in alphabets and the given motif.
X:1
L:1/8
Q:1/8=250
M:4/4
K:Bmin
['B3 d', 'Bcdc B^ABd fBdf agfe fedc Bcdf egfe', 'g2 fg e2']  
X:1
L:1/8
Q:1/8=250
M:4/4
K:Bmin
 B3 d fBdf | agfe fedc | B3 d egfe | d2 cA Bcdc |: B^ABd fBdf | agfe fedc | Bcdf egfe |1 
 dBcA Bcdc :|2 dBcA B2 df |: ad d/d/d Adfa | g2 fg e2 fg | ad d/d/d Adfa | g2 fg e2 fg | 
 ad d/d/d Adfa | g2 fg e2 fg | ad d/d/d Adfa |1 g2 fg e2 fg :|2 g2 fg e2 B^A ||  