Compose a piece following the given musical structure and incorporating the provided motif.
X:1
L:1/8
M:4/4
K:Bdor
['B<Bd>e f>ef<a A>Ac>B A>ce>c B>Bd>e f>ef>g a>fe>c', 'a>fe>c B<B'  
X:1
L:1/8
M:4/4
K:Bdor
 B<Bd>e f>ef<a | A>Ac>B A>ce>c | B>Bd>e f>ef>g | a>fe>c B<B f2 :| d>fB>f d<fB>f | c<eA>e c<eA>e | 
 d<fB>f d<fB>f | a>fe>c B<B e2 | d>fB>f d>fB>f | c>eA>e c>eA>e | B<Bd>e f>ef>g | a>fe>c B<B f2 ||  