Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/8
M:6/8
K:G
['e2 f', 'g fed efg |{c} BAG FED D2', 'FED E2 B gfe |[M:7/8] d/c/B/A/ B/d/e/f/'  
X:1
L:1/8
M:6/8
K:G
 E | Eed e2 f | gba gfe | dBA G/A/BA |{A} GFG E2 D | E2 c{e} dcd | E2 e e2 f | Bba b2 a | gfe e2 || 
 g | fed efg |{c} BAG FED | D2 d{e} d=cd | Eee ed/B/A/F/ | E/F/GE E/F/GE | D/E/FD D/E/FD | 
 FBA GFE | DBB B2 || DEe E2 e | E2 A FED | E2 B gfe |[M:7/8] d/c/B/A/ B/d/e/f/ !fermata!e2 b | 
[M:6/8] g>fe/d/ f>ed/B/ | edB AFD | E/E/Ee E/E/Ee | FDF E2 ||  