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:A
['e/e/e/e/ ^de fe c2 E/E/E/E/ Ac fe', 'e2 f>e e^d =d2'  
X:1
L:1/8
M:4/4
K:A
|: e/e/e/e/ ^de fe c2 | E/E/E/E/ Ac fe d2 | d/d/d/d/ cd gf e2 | gf dB fe ^de | e/e/e/e/ ^de fe c2 | 
 E/E/E/E/ Ac fe d2 | d/d/d/d/ cd gf d2 | g/f/e/d/ cB A4 :: e/e/e/e/ cc e/e/e/e/ cc | 
 e2 f>e e^d =d2 | d/d/d/d/ BB d/d/d/d/ BB | g2 gf fe fe | e2 e/f/e/d/ cc c2 | e2 f>e e^d =d2 | 
 dd d/e/d/c/ BB B2 | e/e/e/e/ fg a4 :|  