Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/16
M:2/4
K:G
['edcB cBAG GFED B,DGD', 'bagf gfed edcB cBAG GFED'  
X:1
L:1/16
M:2/4
K:G
 (uef) | gfed"^4" edcB | cBAG GFED | B,DGD EGc"^4"e | dBGB Adef | gfed"^4" edcB | cBAG GFED | 
 B,DGD EGc"^4"e | dcBA G2 :: (uga) | bagf gfed |"^4" edcB cBAG | GFED B,DGB | Ad^cd efga | 
 bagf gfed |"^4" edcB cBAG | GFED EGc"^4"e | dcBA G2 :|  