Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:2/2
K:Gdor
['G2 GA', 'gdga b2 ag'  
X:1
L:1/8
M:2/2
K:Gdor
 D | G2 GA BcdB | A2 Af AfcA | G2 GA Bcdg | fdcA G/G/G G :| d | gdga b2 ag | fcfg a2 gf | 
 gdga b2 ag | fdcA G/G/G G2 | gdga gabg | fgag fdcf | dfga gfga | fdcA G/G/G G ||  