Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:6/8
K:Edor
['F GBG FAF GEE E2 F DFA', 'G2 G dBG GBd', 'def gfg', 'c BGG', 'f gbg', 'E2 f'  
X:1
L:1/8
M:6/8
K:Edor
 F | GBG FAF | GEE E2 F | DFA dAG | FDD DEF | GFG AGA | BAB gfg | edB BAF | GEE E2 :| F | 
 G2 G dBG | GBd dBG | A2 A ecA | Ace ecA | G2 G dBG | GBd gfg | edB BAF | GEE E2 :| d | efe edB | 
 def gfg | fdd add | fag fef | g3 f3 | def gfg | edB BAF | GEE E2 :| c | BGG AFF | GEE E2 c | 
 BGG dAG | FDD D2 c | BGG AFF | GEE gfg | edB BAF | GEE E2 :| f | gbg faf | gee e2 f | gbg fag | 
 fdd def | gbg faf | egf gfg | edB BAF | GEE E2 :| f | gdc BcA | GEE E2 f | gdB dAG | FDD DEF | 
 G3 AGA | BAB gfg | edB BAF | GEE E2 :|  