Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:6/8
K:G
['Ggg =fdd', 'c>cc dBG'  
X:1
L:1/8
M:6/8
K:G
 Ggg =fdd | ecc =fdd | Ggg =fdd | ece d3 | Ggg =fdd | ecc (dc/B/A/G/) | B>BB c>cc |{dc} BGG G3 :: 
 B>BB c>cc | dBG TA2 G | B>BB c>cc | dBG A3 | Ggg =fdd | ecc (dc/B/A/G/) | B>BB c>cc | 
{dc} BGG G3 :|  