Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:2/2
K:G
['CB,CD EFGE'  
X:1
L:1/8
M:2/2
K:G
 B,A, |"G" G,2 G,A, B,A,G,B, |"C" CB,CD EFGE |"G" D2 DE DCB,G, |"D" A,3 B, A,2 B,A, | 
"G" G,2 G,A, B,A,G,B, |"C" CB,CD EFGE |"D7" DEFG AcBA |"G" G2 GF G2 :: (3DEF |"G" G2 BG AG B2 | 
"C" G2 cG BG c2 |"G" G2 BG AG B2 |"D7" F4 [dD]3 F |"G" G2 D2 B,2 G,2 |"C" CB,CD EFGE | 
"D7" DEFG AcBA |"G" G2 GF G2 :|  