Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
Q:3/8=90
M:6/8
K:G
['A B2 G c2 A', 'G,3 d>ed d2 d e2 f g3'  
X:1
L:1/8
Q:3/8=90
M:6/8
K:G
|: G>AG FED | E2 F G2 A | B2 G c2 A | B2 G c2 A | Bcd EFG | ABc FED | EFG AGF | G3 G,3 |: 
 d>ed d2 d | e2 f g3 | c>dc cBA | c2 d e3 | cdc EFG | A>Bc FED | EFG AGF | G3 G,3 :|  