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>EDB, G,<B, D2', 'B2 c>d (e/d/c/B/) AF F2 G>A (c/B/A/G/)', "d2 g>a (c'/b/a/g/)", 'd2 d>edB G<B d2 (ba/g/){b} (ag/f/) g2', "f2 g>a (c'/b/a/g/) ^fd d2 f(ed/c/) da"]  
X:1
L:1/8
M:4/4
K:Gmin
 D>EDB, G,<B, D2 | G>A (c/B/A/G/) ^FD D2 | D>EDB, G,<B, D2 |{c} (BA/G/){B} (AG/^F/) G2 G2 :: 
 B>cB>c d<f B2 | c>d (e/d/c/B/) AF F2 | G>A (c/B/A/G/) ^FD D2 |{F} (ED/C/) DA BG G2 :| |: 
 d>edB G<B d2 | g>a (c'/b/a/g/) ^fd d2 | d>edB G<B d2 | (ba/g/){b} (ag/f/) g2 g2 :: 
 b>c'b>c' d'<f' b2 | c'>d' (e'/d'/c'/b/) af f2 | g>a (c'/b/a/g/) ^fd d2 | f(ed/c/) da bg g2 :|  