Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/8
M:4/4
K:G
['G2 DG', 'g2 dg'  
X:1
L:1/8
M:4/4
K:G
|: G2 DG EGDG | GABG AE (3EEE | gfed eage | dB B2 c2 BA | G2 DG EGDE | GABG AE E2 | gfed eage | 
 dBAc BG (3GGG :: g2 dg egde | gabg agef | g2 dg ed B2 | cBAc BGBd | g2 dg egde | ga (3bag agef | 
 g2 dg efge |1 dB (3BBB c2 ef :|2 dB (3BBB c2 BA ||  