Compose melodies that adhere to the given musical framework, integrating the provided motif.
X:1
L:1/8
M:4/4
K:G
['A>GF>E D2', 'B>c d>Bd>B'  
X:1
L:1/8
M:4/4
K:G
 B>A | G>FG>D B,>DG>B | A>GF>E D2 c2 | B>cd>B c>BA>G | A>GF>E D2 B>A | G>FG>D B,>DG>B | 
 A>GF>E D2 c2 | B>cd>B e>cA>F | G2 B2 G2 :| B>c | d>Bd>B G2 c>d | e>ce>c A2 B>c | d>Bd>B e>dc>B | 
 A>GF>E D2 B>A | G>FG>D B,>DG>B | A>GF>E D2 c2 | B>cd>B e>cA>F | G2 B2 G2 :|  