Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
Q:1/4=200
M:4/4
K:D
['BE E2', 'Bee[df] e2 de f2 df efdB'  
X:1
L:1/8
Q:1/4=200
M:4/4
K:D
|: BE E2 BAFA | BE E2 BAFG | ABAF D2 FD | FGAd BAFA | BE E2 BAFA | BAcA BAFA | A2 Bc dfec | 
 dBAF E2 FA :: Bee[df] e2 de | f2 df efdB | ABAF D2 FD | FA A2 BAFA | Bee[df] e2 de | f2 df efdB | 
 A2 Bc dfec | dBAF E2 AF :|  