Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/8
M:6/8
K:G
['gdB ecA', 'e^cA def gbg fa^c d2 g d2', 'AFD d2 g dBG cAF G2'  
X:1
L:1/8
M:6/8
K:G
 gdB ecA | dBG AFD | gdB ecA |1 efg cBG :|2 BdF G3 |: def gbg | faf e^cA | def gbg | fa^c d2 g :: 
 d2 e dBG | F2 G AFD | d2 g dBG | cAF G2 g :|  