Construct a musical piece that integrates the provided motif and corresponds to the indicated musical structure.
X:1
L:1/4
Q:1/2=110
M:2/2
K:Gmin
['d B'  
X:1
L:1/4
Q:1/2=110
M:2/2
K:Gmin
 d |"Gm" G A"D7" D/=E/^F/D/ |"Gm" G/A/B/c/ d B |"Cm" c d"F7" e/g/f/e/ |"Bb" d B"D7" z d | 
"Gm" G A"D7" D/=E/^F/D/ |"Gm" G d z B |"Cm" c d e/d/c/B/ |1"D7" A3 :|2"F7" c3 |:"^(Bb)" B | 
"Bb" f g"F7" c/d/e/f/ |"Bb" d B z B |"F7" f g"Cm" c/B/A/G/ |"D" d2 z d |"Cm" e e/d/"G7" c =B | 
"Cm" c c/d/"G7" e d |"Cm" c/B/A/G/"D7" ^F d |"Gm" B G2 :|  