Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:4/4
K:Gdor
['d3 c']  
X:1
L:1/8
M:4/4
K:Gdor
 (D>F) | G2 (G>A) B2 D2 | F2 D4 D2 | GG (GA) B2 cc | A6 (A>c) | d3 c B2 (AG) | (FB) c4 Bc/c/ | 
 d3 c (BG) A2 | G6 z2 |]  