Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
M:2/4
K:G
['', 'Bc d>e dB GA Bd g>a ge', 'g>a ge c3'  
X:1
L:1/8
M:2/4
K:G
 Bc |: d>e dB | GA Bd | g>a ge | c3 e | d3 B | GA Bc | A2 A>B | A2 Bc | d>e dB | GA Bd | g>a ge | 
 c3 e | d3 B | Ac BA | G4- |1 G2 Bc :|2 G2 g2 || f3 g | a3 f | g>a ge | c3 d | e3 g | fd ef | 
 d2 d>d | d2 Bc | d>e dB | GA Bd | g>a ge | c3 e | d3 B | Ac BA | G4- | G2 Bc ||  