Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/8
Q:1/4=60
M:3/4
K:Amin
['f2 ed e2 A2', 'dfe d']  
X:1
L:1/8
Q:1/4=60
M:3/4
K:Amin
 ed c B A2 | f2 ed e2 | A2 df ed | cB A2 z2 | e2 dc BA | f2 ed e2 | A2 dfe d | cB A2 z2 || 
 ef g2 ga | g2 f e f2 | z e (d3 e) | f2 ed e2 | e2 dc BA | dfe d e2 | A2 dfe d | cB A2 z2 |]  