Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:4/4
K:G
['GFGA A2 GA edBA'  
X:1
L:1/8
M:4/4
K:G
|:"G" BAGE D3 G |"C" EGDE GFGA |"G" BddB"D" A2 GA |"Em" edBA BAGE |"G" DGGF GFGA | 
"G" BddB"D" A2 GA |"Em" edBA GABG |"C" EG"D"GF"G" G3 B :|"G" dGGG dGeG |"G" dBAG"C" E3 D | 
"G" GFGA BddB |"C" edBG"D" ABGA |"Em" BEEE"Em" BE"Am"cE |"Em" BEEE"D" D2 DE |"G" GFGA BAGE | 
"C" DG"D"GF"G" G3 B :|  