Construct melodies utilizing the provided motif and adhere to the outlined musical structure.
X:1
L:1/8
M:2/4
K:G
['G>A Bd', 'eg/e/ d2 BA/G/ EA A>A Bd Bd'  
X:1
L:1/8
M:2/4
K:G
|: DG G>A | Bd dB | eg/e/ dB | AG E/F/G/E/ | DG G>A | Bd dg | e4 | d3 B |1 .AG G2 :|2 .AG G>A |: 
 Bd Bd | g>f eg/e/ | d2 BA/G/ | EA A>A | Bd Bd | g>f e/f/g/e/ | de/d/ BA | G3 A :|  