Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/4
Q:1/4=200
M:4/4
K:G
['E3/2 c/ B2', 'G E/'  
X:1
L:1/4
Q:1/4=200
M:4/4
K:G
 E3/2 c/ B2 | E3/2 c/ B2 | c c e c | B4 | E3/2 c/ B2 | E3/2 c/ B2 | A B c ^c | d2 D2 | E3/2 c/ B2 | 
 E3/2 c/ B2 | c c e c | B4 | c c B2 | c c B2 | B/c/B/A/ G F | E2 D2 | G3/2 e/ d2 | G3/2 e/ d2 | 
 B B c B | A e e2 | A3/2 B/ c2 | A3/2 B/ c2 | c c B A | G e d2 | B3/2 c/ d2 | G/B/d/e/ d2 | 
 B B c B | A e e2 | e c e c | d B d B | d/c/B/A/ G/F/G/A/ | B d g f/e/ || d d2 ^c/d/ | e d B G | 
 E/ G E/ G A | B4 | d d2 ^c/d/ | e d B G | E/ A E/ A B | A G E D | d d2 ^c/d/ | e d B G | 
 E/ G E/ G A | B3 d | e3/2 e/ f e | d B G d | e2 f2 | g4 |]  