Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
M:3/4
K:Gmin
['G>A B2', 'G4 d>^f g2 gfd^f g2 g2 cd'  
X:1
L:1/8
M:3/4
K:Gmin
 G>A | B2 c>BA>B | G4 ga | (gf)(ed)(cB) | c2 F2 G>A | B2 A>GA>B | c2 F2 G>A | B2 (cB)(AB) | G4 :: 
 d>^f | g2 gfd^f | g2 g2 cd | (fg)(fd)(cd) | f2 f2 B>c | d2 (ed)(cB) | c2 (dc)(BA) | B2 (cB)(AB) | 
 G4 :|  