Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/16
Q:1/4=112
M:2/4
K:Emin
['B2e2 ^d2e2', '.g2(B2 d2)c2 cBAG FGAB'  
X:1
L:1/16
Q:1/4=112
M:2/4
K:Emin
|: E B2e2 ^d2e2 | A c2cB ABcA | B2B2 BAGF | A2.G2 .F2.E2 | B2e2 ^d2e2 | .c2cB ABc2 | BABc g2f2 | 
 e4 e2 z2 ::[K:G] d2^cd .g2(B2 | d2)c2 cBAG | FGAB cBce | e2d2 dcB2 | d^cd2 .g2(B2 | d2)c2 cBAG | 
 FGAB cdef | g4 g4 :|  