Develop a musical composition incorporating the given motif and maintaining the required musical form.
X:1
L:1/8
M:6/8
K:Bmin
['', 'd2 e f2 d', 'dcA B2 f fdB BAB fdB d2'  
X:1
L:1/8
M:6/8
K:Bmin
 B |: d2 e f2 d | e2 c dcA | B2 f fdB | BAB fdB | d2 e f2 d | ecc dcB | A2 e ecA |1 cde ecA :|2 
 cde aec || d2 g f/g/af | ege dcA | B2 f fdB | BAB fdB | d2 g f/g/af | ege dcB | A2 e ecA | 
 cde ecA :|  