Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/4
M:3/2
K:G
['d e', 'd/e/f/d/ g G g (f/e/)'  
X:1
L:1/4
M:3/2
K:G
 G d2 c/B/ A G | G d e f g2 | A a2 g/f/ e d | A d e ^c d2 || B e2 ^d e B | B e2 ^d e2 | 
 A d2 ^c d A | A d2 ^c d2 | A c2 B c (B/A/) | G/A/ B/c/ d/e/f/d/ g G | g (f/e/) d/e/f/d/ g G | 
 g (f/e/) d/c/ B/A/ ||  