Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/8
M:3/4
K:D
['e>f fg ec d>e (f/e/f/g/) a2 e>f']  
X:1
L:1/8
M:3/4
K:D
 A>F Ac (cd) | AF Ac d2 | D>F Ac (cd) | AF Ac d2 | e>f fg ec | d>e (f/e/f/g/) a2 | e>f fg ec | 
 d>e (f/e/f/g/) a2 | e>f (fg) ec | (cd) d2 z2 ||  