Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
['e dGdc BGGg dGdc B2 Bg dGdc', 'bgdg Bgdg'  
X:1
L:1/8
Q:1/4=120
M:4/4
K:G
 e | dGdc BGGg | dGdc B2 Bg | dGdc BGdB | c/B/A/G/ F/G/A/B/ c2 c :: g/a/ | bgdg Bgdg | 
 bgdg B3 g/a/ | bgdg Bgdg | c/B/A/G/ F/G/A/B/ c2 g>a | bgdg Bgdg | bgdg B2 g>a | 
 (3(bgb) (3(afa) (3(gfe) (3(dcB) | c/B/A/G/ F/G/A/B/ c2 c :|  