Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:3/4
K:G
['', 'G3 A Bc d3', 'G G=f d c2 A _Bc B3'  
X:1
L:1/8
M:3/4
K:G
 D |: G G/F/ G3 A | Bc d3 d | cB G D2 E | =FG F3 D | G G/^F/ G3 A | Bc d3 B | cd B G2 A | 
 GF G3 G || G=f d c2 A | _Bc B3 d/c/ | _BA G D2 E | =FG F3 D | G G/^F/ G3 A | =Bc d3 B | 
 cd B G2 A | GF G3 D :|  