Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:4/4
K:Bb
['e2 dd c3 d c2']  
X:1
L:1/8
M:4/4
K:Bb
 F2 | d2 d2 e2 dd | c3 d c2 dc | B2 BBcBAB | c4 z2 c2 | c2 c2 d2 dd | f4 e2 dc | B2 BBABcd | 
 B4 z2 B2 | B2 B2 e2 dd | c3 d c2 d2 | e2 ed c2 c>d | c4 z2 c2 | f4 =e2 z2 | e4 d2 z d | 
 fedc B2 A2 | B4 z2 |]  