Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/4
M:3/8
K:G
['G d c d3/2 A/ B c', 'G A B A3/2 G/ A d'  
X:1
L:1/4
M:3/8
K:G
 G d c | d3/2 A/ B | c d B | A2 G | G d c | d3/2 A/ B | c d B | A3 :: G A B | A3/2 G/ A | d c B | 
 G2 =F | G A B | A3/2 G/ A | d c B | G3 :|  