Construct a musical piece that follows the designated lettered structure and integrates the provided motif throughout.
X:1
L:1/8
Q:1/4=144
M:4/4
K:Dmin
['B2 B2 AG', 'z4 EEED EF D2 GGGF GA F2']  
X:1
L:1/8
Q:1/4=144
M:4/4
K:Dmin
"Gm" G3 G"Am" E2 C2 |"Dm" D2 E2 F2 A2 |:"Bb" B2 B2"Gm" B2 AG |"Dm" A3 G F4 |"Bb" B2 B2"Gm" B2 AG | 
"Dm" A4"F" c4 |"Bb" B2"Gm" B2 B2 AG |"Dm" A3 G F4 |"Gm" z G2"Dm" F E2 D"F" C |"Dm" D4 z4 | 
"Dm" DDD^C"Am" EEED |"A" ^CCCD"Dm" EF D2 | FFFE"Gm" GGGF |"Am" EEEF"Dm" GA F2 | d3 f"Am" e2 c2 | 
"Bb" BBBA Bc d2 |"Dm" de f2"Am" edcA |"Bb" B2 B2"Dm" AGFG | A4 A4 :|  