Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/4
M:3/4
K:G
['d g', 'a/ g'  
X:1
L:1/4
M:3/4
K:G
"G" B2 d |"C" c2 e |"G" d3 | B d g |"D7" f3 | c f a |"G" g3/2 f/ g | d2 z | B2 d |"C" c2 e | 
"G" d3 | B d g |"D" f2 a |"A7" e2 f |"D" d3/2 d/ d | d z z |:"C" e3/2 c'/ c' | c'2 e | 
"G" d3/2 b/ b | b a g |1"D7" f2 c | f2 e |"G" e d g | B3 :|2"D7" f2 e | d2 f |"G" g z"D7" f | 
[K:C]"G" g z z |:"C" e3 | g e g | c'3 | e3 |"G7" d3/2 a/ g |1 f2 B |"C" c3/2 a/ g | e2 z :|2 
"G7" f e d |"C" (c3 | c) z z |]  