Create melodies that adhere to the provided musical framework and incorporate the given theme
X:1
L:1/8
M:4/4
K:G
['B2 g>f', 'G2 (3ABc d2 b2 c>a (3aba B>gg>a'  
X:1
L:1/8
M:4/4
K:G
|: (3BAG | F2 A2 c2 (3def | (3gag B>^A B2 g>f | (3efe A>^G A2 (3=gfe | (3ded G>F G>BA>G | 
 F>GA>B c>de>f | g2 B2 B2 g>f | e2 A2 d2 (3FGA | (3ABA G2 G2 :: (3ABc | d2 b2 c>a (3aba | 
 B>gg>a g>dB>G | c>ee>^d e2 (3cBA | G2 g2 g2 (3Bc^c | d2 b>B c2 a>A | B>gg>f g2 (3dBG | 
 c>ee>^d e>gf>e | (3ded (3cBA G2 :|  