Compose a musical piece in accordance with the outlined theme and structure.
X:1
L:1/8
M:2/2
K:Gmin
['D G2 (BG) dGBG F2 (AF) cFAF', '(bg)dB (Gd)gb'  
X:1
L:1/8
M:2/2
K:Gmin
 D | G2 (BG) dGBG | F2 (AF) cFAF | GABc dGBG | AFcA A2 G :| g | (bg)dB (Gd)gb | (af)cA (Fc)fa | 
 (bg)dB (Gd)gb | agfa b (g2 a) | bgdB GDB,G, | fcAG FCA,F | GDBG dBgB | cAFA A2 G ||  