Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
['GE DEGA BGGB cABG AGEG DEGA BABc', 'g2 ge d2'  
X:1
L:1/8
Q:1/8=180
M:2/2
K:G
 GE | DEGA BGGB | cABG AGEG | DEGA BABc | dBAB G2 :| (3def | g2 ge d2 dB | AcBG AGEG | 
 g2 ge d2 d2 | eaab agef | gfge dedB | cABG AGEG | DEGA BABc | dBAB G4 |]  