Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
Q:1/8=240
M:4/4
K:Ador
['EAAG EGDG EA A2 fAeA EAAG EDEF', 'A2 eA fAeA'  
X:1
L:1/8
Q:1/8=240
M:4/4
K:Ador
 EAAG EGDG | EA A2 fAeA | EAAG EDEF |1 G2 BG cGBG :|2 G2 Bd dBGB || A2 eA fAeA | fAeA dBGB | 
 A2 eA fAeA | d2 BG DGBG | A2 eA fAeA | fAeA dBGd | e3 f g3 e | d2 BG DGBG ||  