Compose a piece of music based on the provided motif and adhering to the outlined musical structure.
X:1
L:1/8
Q:1/2=60
M:2/2
K:Bb
['F2 B2 B>B B>B A>A B>B F>F', 'c4 d>e f2 f>f f2 e>d g>g'  
X:1
L:1/8
Q:1/2=60
M:2/2
K:Bb
 F2 | B2 B>B B>B A>A | B>B F>F D2 z B | c2 c>c c2 c/d/e | f>f d>d B2 d>e | f2 f>f f2 e>d | 
 e2 e>e e2 d>c | d2 (cB) g>fe>d | d2 c4 :: d>e | f2 f>f f2 e>d | g>g e>e c2 d>e | f>f d>d B2 A>B | 
 c>c AA F2 f2 | g2 b2 f2 d2 | B2 B>B B2 d/e/f | (g>e) (f>d) (e>c) B>A | B6 :|  