Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:4/4
K:G
['edbA GAbG GAbG', 'aged gded gded ezgg gfed b G2'  
X:1
L:1/8
M:4/4
K:G
 GbA GAbG ||2 gfg edbA | GAbG GAbG | AbAG FDED | b G2 G EGDG ||2 G2 g edbA | GAbG GAbG | 
 AGF A3 G z :| d g2 g gfed | eaag aged | gded gded | ezgg gfed | b G2 G EGDG |2 G2 g edbA | 
 GAbG GAbG | AGF A3 G z :|  