Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/8
M:4/4
K:Gmin
['d>d e>e']  
X:1
L:1/8
M:4/4
K:Gmin
 G2 G>F G2 A>A | G>F D2 D4 | c>c B>_A c>c d>c | G>G e>e d2 e>d | c2 d>c d>d e>e | d>c _A2 G4 | 
 G2 D>C D>F G>A | c2 G2 G3 c | d2 c>c d>d c>c | d>d e>e d3 A | A2 d>c A>G F>G | A>F G2 G4 |]  