Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:3/4
K:Gmin
['d2 d4'  
X:1
L:1/8
M:3/4
K:Gmin
|:"Gm" GA Bc dB | d2 d4 |"Cm" cd ec ec |"Gm" g2 g4 |"Eb" ga ba ga |"Gm" d2 d4 |"D7" cd cB AB | 
"Gm" G4 z2 :|[K:G] |"G" gf de fd |"Am" e2 e4 |"D7" fe de fd |"G" e2 e4 | Bc dB AG |"Am" c2 c4 | 
"D7" de fe df |"G" B4 z2 |"G" gf de fd |"Am" e2 e4 |"D7" ag fg af |"Eb" g2 g4 |"Cm" ga _ba ga | 
"Gm" d2 d4 |"D7" cd c_B AB |"Gm" G4 z2 |"G" ga f3 e |"Am" g6 |"D7" z f ga fe |"G" d2 d4 | 
"Cm" c2 _e2 g2 |"Gm" _b3 a g2- |"D7" ga ^f3 g |"Gm" g4 z2 |]  