Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:6/8
K:D
['F2 G AGF GBe edc', 'd B3 EFG Add DFA Bcd edc'  
X:1
L:1/8
M:6/8
K:D
 F2 G AGF | GBe edc | Aee edc | Age fdA | F2 G AGF | GBe edc | Afg edc |1 AGE A2 G :|2 AGE A2 D || 
 Bcd edc | Acd F2 d | B3 EFG | Add DFA | Bcd edc | Acd FGA | Bfg edc |1 AGE A2 d :|2 Aed cAG ||  