Create melodies that adhere to the provided musical framework and incorporate the given theme
X:1
L:1/8
M:4/4
K:G
['B>dd>^c d2 g>e d>BG>A B>A A2 B>dd>^c', 'B>dg>d e>dg>d'  
X:1
L:1/8
M:4/4
K:G
|: B>dd>^c d2 g>e | d>BG>A B>A A2 | B>dd>^c d>eg>e |1 d>BA>c B>GG>A :|2 d>BA>c B>G G2 || 
 B>dg>d e>dg>d | B>dg>d c>BA>c | B>dg>d e>dg>d | c>BA>c B>GG>A | B>dg>d e>dg>d | B>dg>d c>BA>a | 
 g>fe>d e>fg>e | d>BA>c B>G G2 ||  