Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
['Bdd gdd', 'G Bdd ecc dBB ecc Bdd'  
X:1
L:1/8
Q:1/8=160
M:6/8
K:G
 Bdd gdd | edd gdc | Bdd gdd | edc BcA | Bdd gdd | edc gdc | Bdd gfg | edB A2 G :| Bdd ecc | 
 dBB ecc | Bdd ece | dBG A2 G | Bdd ecc | dBB ecc | Bdd gfg | edB A2 G :|  