Create a composition based on the provided motif while adhering to the necessary musical structure.
X:1
L:1/8
Q:1/4=120
M:2/4
K:Bb
['BFDF B>cdg', 'bagf b2 Bg'  
X:1
L:1/8
Q:1/4=120
M:2/4
K:Bb
"_Allegro" d/c/ | BFDF | B>cdg | fd e/d/c/B/ | Ac cd/c/ | BFDF | B>cdg | fdc>d | B2 B :| f | bagf | 
 b2 Bg | fdc>B | Accf | bagf | b2 Bg | fdc>d | B2 Bf | bagf | f/e/f/g/ a/g/a/b/ | c'ccc | cdeg | 
 f>gfd | cBcd | B/c/d/c/ BB | B3 |]  