Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:4/4
K:G
['B/c/d c2 B/A/G DG'  
X:1
L:1/8
M:4/4
K:G
"G" BdcB GDGA |"C" ABAG EGGA |"G/B" B/c/d cB G2 ga |"Em" bagd"D" Beed |"G" B/c/d cB GDGA | 
"C" B2 AG EGga |"Em" bagd"^/C" c2 B/c/d |"D" c2 B/A/G DG G2 ::"G" DGBd c2 BG |"C" EGcd cB G2 | 
"G/B" DGBG"C" EGcd |"D" Addc B2 AG |"G" DG B/c/d c3 B |"C" EGcd cBga |"Em" bagd c2"^/C" B/c/d | 
"D" c2 B/A/G DG G2 :|  