Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:4/4
K:Emix
['B3 A B2 ec', 'fe e2'  
X:1
L:1/8
M:4/4
K:Emix
 B3 A B2 ec | dcdA FA A2 | B3 A B2 ec | dABd FE E2 | B3 A B2 ec | dcdA FA A2 | B3 B c2 ec | 
 dcdA FEEd || fe e2 fede | fe e2 faba | fe e2 fedB | Bcde faed | fe e2 fede | fede fa a2 | 
 bf f2 afed | ABde faed ||  