Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
M:4/4
K:Gmin
['D2 G2', 'B2 (dB) fBdB'  
X:1
L:1/8
M:4/4
K:Gmin
 D2 G2 GABG | FGAB cAFA | D2 G2 GABc | dcBA BGGB :| B2 (dB) fBdB | cdcB AFGA | B2 (dB) fBdB | 
 dgg^f g2 (ga) | bag^f gdd=e | fdcB AFFA | D2 G2 GABc | dcBA (BG) G2 ||  