Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:2/2
K:G
["dBGB dgbd' d'c'bc' a3 b c'bc'a fdfa", 'g2 FGAB cBcA GABd ed^cB ^ceag fedc'  
X:1
L:1/8
M:2/2
K:G
|: z e | dBGB dgbd' | d'c'bc' a3 b | c'bc'a fdfa | gbag fedB | dBGB dgbd' | d'c'bc' a3 b | 
 c'bc'a fdfa | gbaf g2 :| FGAB cBcA | GABd ed^cB | ^ceag fedc | edd^c d2 z f | gafg efde | 
 cdBc ABGA | FGEF DECD | B,CA,B, G,2 :|  