Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/16
Q:3/8=50
M:3/8
K:Bb
['F2 B2B2B2 B4 FB d2d2d2 d4 Bd', 'df fee2 cA', 'B4 F2 B2A2B2 c4 d2 e2G2A2 B2B2F2'  
X:1
L:1/16
Q:3/8=50
M:3/8
K:Bb
"_Allegretto" F2 | B2B2B2 | B4 FB | d2d2d2 | d4 Bd | f4 dB | g4 ec | A2A2A2 | B4 :: df | fee2 cA | 
 cBB2 df | fee2 cA | B4 df | fee2a2 | c'bb2 df | g^fgecA | B4 :: F2 | B2A2B2 | c4 d2 | e2G2A2 | 
{c} B2B2F2 | B2A2B2 | g2>a2bg | fgfedc | B4 :|  