Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:2/2
K:Gmix
['DGG^F G3 A', 'BG G2', 'ABcA BG G2 BGdG BGGA Bcde ^fage'  
X:1
L:1/8
M:2/2
K:Gmix
 DGG^F G3 A | BGdG eGdG | D=FFE F3 G | AFcF dFcF | DGG^F G3 A | BG G2 Bcde | ^fage fdcA |1 
 dcA^F G2 GF :|2 GBA^F G2 Bc |: dgg^f g3 a | bg g2 bga^f | d3 e ^fefg | a^f f2 afgf | dg^fa g3 a | 
 bg g2 g^fde | ^fage fdcA |1 dcA^F G2 Bc :|2 BdA^F G2 GA |: BG G2 BGdG | BG G2 (3Bcd gd | 
 A=F F2 AFcF | AF F2 ABcA | BG G2 BGdG | BGGA Bcde | ^fage fdcA |1 BdA^F DGGA :|2 BdA^F DGGF ||  