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
['G2 G2 D>GB>G A>^GA>B c>BA>=G F>GA>B A>GF>E', 'G2 A>df>e (3d^ce d>c B>dg>f e2 e>d', 'G2 G2', 'G2 Adfe (3d^ce dc Bdgf e2 ed']  
X:1
L:1/8
M:4/4
K:Gmin
 G2 G2 D>GB>G | A>^GA>B c>BA>=G | F>GA>B A>GF>E | (3DFA d>e d>cB>A | G>BD>G (3B,DG B>G | 
 c>eA>c (3DFA c>A | (3GFA (3GFE D2 E>F | G2 B2 G2 :| A>df>e (3d^ce d>c | B>dg>f e2 e>d | 
 (3cBA (3BAG (3fdc (3BAG | (3DFA d>e d>cB>A | G>BD>G (3B,DG B>G | c>eA>c (3DFA c>A | 
 (3GFA (3GFE D2 E>F | G2 B2 G2 :| G2 G2 DGBG | A^GAB cBA=G | FGAB AGFE | (3DEB de dcBA | 
 GBDG (3B,DG BG | ceAc (3DFA cA | (3GfA (3GFE D2 EF | G2 B2 G2 :| Adfe (3d^ce dc | Bdgf e2 ed | 
 (3cBA (3BAG (3fdc (3BAG | (3DFA de dcBA | GBDG (3B,DG BG | ceAc (3DFA cA | (3GfA (3GFE D2 EF | 
 G2 B2 G2 :|  