Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/4
Q:1/4=280
M:2/2
K:Gdor
['c B', 'd c/B/ A A/B/ c B/A/ G'  
X:1
L:1/4
Q:1/4=280
M:2/2
K:Gdor
 G A B B c B A c | B A G F E2 D2 | G A B B c B A c | B G A A G4 :: d c/B/ A A/B/ c B/A/ G B | 
 A G F G A2 A2 | d c/B/ A A/B/ c B/A/ G B | A G G F G2 G2 :|  