Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:6/8
K:G
['(uBc) dBG dBG ege dBG cac BgB', 'gag =fde f3'  
X:1
L:1/8
M:6/8
K:G
 (uBc) | dBG dBG | ege dBG | cac BgB | cAG FED | dBG ecA | fdB gag | fed cAF | AGG G2 :: G | 
 G(gf) gag | =fde f3 | =F(=fe) fgf | edc dcA | G{a}gf gag | =fde f3 | cde =fcA | AGG G2 :|  