Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
M:2/2
K:G
['(3efg dB GABG AGEF GBdg egdg', 'ea{b}ag fddf'  
X:1
L:1/8
M:2/2
K:G
 GBdg (3efg dB | GABG AGEF | GBdg egdg | egfa gedB | G3 g (3efg dB | GABG AGEF | GBdg egdg | 
 egfa !fermata!g2 (dg) || | ea{b}ag fdef |{a} gfga bged | ea{b}ag fddf | egfa g2 dg | 
 ea{b}ag fddf | gfga bgef | gfeg a2 ga | bc'ba"_D.C." gedB |]  