Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/8
M:6/8
K:A
['EAc e2 c f2 c', 'E EFG ABc d3 d2 e f2']  
X:1
L:1/8
M:6/8
K:A
 EAc e2 c | f2 c ecA | EAc e2 c | f2 c dBG | EGB d2 B | e2 B dBG | EGB d2 B |1 Acf e2 :|2 Ace a2 || 
 a2 c e2 A | c3 c2 E | EFG ABc | d3 d2 e | f2 B d2 E | G3 G2 e | gfe dcB |1 Acf e2 :|2 Ac/d/e a2 ||  