Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:6/8
K:G
['d>cB d>cB AGA', 'DAc DcB{B} AGA DGG EcB AGF d2'  
X:1
L:1/8
M:6/8
K:G
 d>cB d>cB | AGA B>cd | d>cB d>cB | AGA G3 :|"^*" DFA DAc | DcB{B} AGA | DGG EcB | AGF d2 z | 
 d>cB d>cB | AGA B>cd | d>cB e>fg | BcA{A} G3 |]  