Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/16
M:2/4
K:Bb
['B2 fbfd Bdfb fdcA Fedc BABc dBed', 'B2[bB]2B2 z2 FAcB AecA BABc dced cdef'  
X:1
L:1/16
M:2/4
K:Bb
 B2 | fbfd Bdfb | fdcA Fedc | BABc dBed | cBcd c2de | fbfd gecA | gecA Fedc | Bbag fedc | 
 B2[bB]2B2 :: z2 | FAcB AecA | BABc dced | cdef gabg | f=efg f2(3(fga) | bagf edcB | AbFg fedc | 
 Bdfb fdcA | B2B2B2 :|  