Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/8
M:4/4
K:G
['EGcd e3 e', 'edcG A>AGF EGcd ecBc dcec fdec'  
X:1
L:1/8
M:4/4
K:G
 C/D/E/F/ | G2 G2 A2 (3_BAG | EGcd e3 e | fedc d2 cd | edcA GE C(3D/E/F/ | GG A_BAG | EGcd e3 e | 
 fedB GG GA/B/ | ccd>B c2 || c>d | edcG A>AGF | EGcd ecBc | dcec fdec | dcBA GA/B/ cd | 
 edcG A>AGF | EGcd ecBc | dcec fdec | dcBd c2 ||  