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
['a2 a e2 e f2 f e2', 'c2 c B2 c d2 d c3'  
X:1
L:1/8
M:6/8
K:A
 a2 a e2 e | f2 f e2 c | d2 f ecA | BcA GFE | a2 a e2 e | f2 f e2 c | def ecA | B3 A3 :: 
 c2 c B2 c | d2 d c3 | fga ecA | BcA GFE | c2 c B2 c | d2 d c3 | fga ecA | B3 A3 :|  