Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/4
M:4/4
K:G
['d d'  
X:1
L:1/4
M:4/4
K:G
 d/c/ |"G" B d G B |"D" A F D2 |"G" B G d B |"D" A2 d2 |"G" g d B3/2 d/ |"Am" e c A3/2 G/ | 
"D7" F A D F |"G" G3 :|"D7" D E/F/"G" G G |"Em" E F/G/"Am" A A |"F#m" F G/A/"Bm" B B | 
"Em" G F"A7" E2 |"D7" D E/F/"G" G G |"Em" E F/G/"A7" A d |"D7" d/e/d/c/ B A |"G" G4 :: 
"D" d d d/A/F/d/ |"C" c c c/G/E/c/ |"Bb" _B B B/=F/D/B/ |"A" A4 |"D" d d d ^c/d/ |"Am" e =c A G | 
"D7" F A d/e/ f |"G" g4 :|  