Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/4
Q:1/4=120
M:4/4
K:G
['G G']  
X:1
L:1/4
Q:1/4=120
M:4/4
K:G
 G3 D | A G D E | D3 E | D4 | B3 A | c B A G | d4 | B2 A B | G G G F | E3 D | B, C3 | E A3 | 
 E A2 G | G d3 | e d c B | A G3 | G3/4 ||  