Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:4/4
K:C
['dBG Gge', 'Add gag f2'  
X:1
L:1/8
M:4/4
K:C
 BEA |[M:6/8][K:G]SOSOO .!fermata!PMTuCO(MB/c/) | dBG Gge | dBG Gge | dcB dcB | ABA{B} ABc | 
 dBG Gge | dBG Gge | def gdB | G>AG G2 :: Bdd Add | gag f2 d | Bdd Add | ge^c de=c | Bdd Add | 
 gag f2 e | def gdB | G>AG G2 :|  