Develop melodies adhering to the specified musical structure and using the offered theme.
X:1
L:1/8
M:4/4
K:Ador
['eAAB cBcd eAAa gedg eAAB (3cBc dc', 'gdBd e^def (3gfg ed'  
X:1
L:1/8
M:4/4
K:Ador
 eAAB cBcd | eAAa gedg | eAAB (3cBc dc | (3BcB GA Bcdg :| e<cef (3gag fg | e<^def gdBd | 
 e^def (3gfg ed | ^cdgd BAAg | e^def (3gag fg | e^def gdBd | e^def (3gfg ed | eaaf gbag ||  