Craft a musical composition with the supplied motif and conforming to the necessary format.
X:1
L:1/16
Q:1/4=120
M:2/4
K:Bb
['F2 B2d2 Td4 e2c2Tc2>e2 .d2.B2.A2.B2 (c=B).c.d (cA).G.F', 'B2 f2 b2a2g2f2 .e2.d2.c2.B2 g2>f2 (bg).f.d d2c2c2f2', 'dBdB dBdB'  
X:1
L:1/16
Q:1/4=120
M:2/4
K:Bb
"^Allegro" F2 | B2d2 Td4 | e2c2Tc2>e2 | .d2.B2.A2.B2 | (c=B).c.d (cA).G.F | B2d2 d4 | e2c2c2>e2 | 
 (ed).c.B (AB).c.d | B4 B2 :: f2 | b2a2g2f2 | .e2.d2.c2.B2 | g2>f2 (bg).f.d | d2c2c2f2 | 
 .b2.a2.g2.f2 | .e2.d2.c2.B2 | F2>B2 (AB).c.d | B4 B2 :: e2 | .d.B.d.B .d.B.d.B | 
 .e.c.e.c .e.c.e.c | dBdB dBdB | cBAG FAce | dBdB dBdB | .e.c.e.c ecec | edcB ABcd | B4 B2 :|  