Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:2/4
K:none
['d/g/B B/d/G F/A/c/B/ A2 c/e/A A/c/F', 'CE d(3(c/B/A/) G2 Eg d/G/A/B/ ce cG'  
X:1
L:1/8
M:2/4
K:none
[K:G]"G" d/g/B B/d/G |"D7" F/A/c/B/ A2 | c/e/A A/c/F |"G" G/A/B/A/ G2 | d/g/B B/d/G | 
"D7" F/A/c/B/ A2 | c/e/A A/c/F |1"G" GB G z :|2"G" GB GD |:{A}"G" G/F/G/A/{c} B/A/B/c/ | ed d>B | 
"D7" dc c>A |"G" cB BD |{A} G/F/G/A/{c} B/A/B/c/ | ed d>B |"D7" dc c>A |1"G" GB GD :|2"G" GB GG |: 
[K:C]"C" e(3(d/c/B/)"F" d(3(c/B/A/) |"C" G2 EG |"G7" F2 DF |"C" E2 CE | 
 e(3(d/c/B/)"F" d(3(c/B/A/) |"C" G2 Eg |"F" f2"G7" d/G/A/B/ |1"C" ce cG :|2"C" ce c z |]  