Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/8
Q:1/8=120
M:2/4
K:G
['', 'dB AG Bd Bd cd/c/', 'de d2-'  
X:1
L:1/8
Q:1/8=120
M:2/4
K:G
 ge |: dB AG | Bd Bd | cd/c/ Bc | A2- Ag/e/ | dB AG | Bd Bd | cd/c/ BA |1 G2 g>e :|2 G2 G || A | 
 Bd de | d2- de/d/ | Bc/d/ ef | ed BA | Bd de | d2- d>b | ba ag | ag ed | Bd de | d2- de/d/ | 
 Bd ef | g>g fe | dB AG | Bd Bd | cd/c/ BA | G2 G :|  