Design a musical work that abides by the outlined structure and integrates the assigned theme.
X:1
L:1/8
M:4/4
K:Gmin
['G3 A BABc d^cde']  
X:1
L:1/8
M:4/4
K:Gmin
|: D2 | G3 A BABc | d^cde d=cBG | F3 G AGAB | c=Bcd cAGF | G3 A BABc | d^cde d=cBc | d3 e dcBA | 
 B2 A2 G2 :|  