Compose melodies adhering to the given motif and the outlined musical structure.
X:1
L:1/16
M:2/4
K:G
['G,2 [G,D](DE)E G(EG)(A B)(Bd)(A c2>)(A2 B)AB(D E)(DE)G', '[GB]2 (e2 g2)ed (eg)(ed) e(dB)(D G2>)(e2 ga2)(g', '[GB]2 c2 e4 g4 e4 d2>(A2 B)AB(B'  
X:1
L:1/16
M:2/4
K:G
|: G,2 | [G,D](DE)E G(EG)(A | B)(Bd)(A c2>)(A2 | B)AB(D E)(DE)G | A2>G2 [GB]2 :: (e2 | 
 g2)ed (eg)(ed) | e(dB)(D G2>)(e2 | ga2)(g a)geA | Bcdc d2>(e2 | g)(ab)a gede | edd(A B2>)A2 | 
 BABD EDEG | A2G2 [GB]2 :: c2 | e4 g4 | e4 d2>(A2 | B)AB(B A)(DE)D | AGG2 G2 :|  