Develop melodies according to the outlined musical structure, including the given motif.
X:1
L:1/4
M:2/2
K:Gmin
['g d e d3/2 d/ e c'  
X:1
L:1/4
M:2/2
K:Gmin
 d |"Gm" g g/^f/ g d |"Cm" e c"D7" d3/2 d/ |"Cm" e e/d/"F" c B |"F7" f F"Bb" B2 |"Gm" g ^f g d | 
"Cm" e d/c/"D7" d3/2 d/ |"Cm" e d"F" c B |"F7" f F"Bb" B3/2 || d/ |"Gm" g3/2 ^f/ g3/2 a/ | 
"F7" b a"Bb" b2 |"Bb" B/c/d/e/ f f |"Cm" c/d/e/f/ g g |"Eb" g2"Bb" f2 |"F7" e2"Bb" d2"^I" | 
"Gm" b/a/g/^f/"Cm" g c |"D7" d [dD]"Gm" G |]  