Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
M:9/8
K:Emin
['G2 g gfg dBG', '(A/B/c).A BGE'  
X:1
L:1/8
M:9/8
K:Emin
 G2 g gfg dBG | A2 B c2 d ecA | G2 g gfg dBG |1 (e/f/g).e (f/g/a).f gdB :|2 (A/B/c).A BGE E2 z || | 
 e2 f g2 e fdB | e2 f g2 a bge |1 (g/a/b).g (f/g/a).f (e/f/g).e | (B/c/d).B (A/B/c).A BGE :|2 
 faf gbf dBG | (A/B/c).A BGE E2 |]  