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:A
['E A2']  
X:1
L:1/8
M:6/8
K:A
 E | A2 A c2 A | e3 E2 E | A2 E C2 A, | E3 z2 e | e2 ccBc | d3 B2 d | c2 ABAB | A3 z2 |]  