Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/8
M:2/2
K:Bmin
['B>Bd>e f>B d2', 'ge f2'  
X:1
L:1/8
M:2/2
K:Bmin
|: B>Bd>e f>B d2 | B>cd>e f>ec>a | B>Bd>e f>B d2 | A>Ac>A eAce :| d>efd ge f2 | d>ef>d f>ef>a | 
 d>ef>d ge f2 | e>cA>B c>de>f | d>ef>d ge f2 | d>efd f>ef>a | d>af>a d>ef>a | efdb cAce |]  