Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:6/8
K:A
['ecA d3', 'fga ecA B2 z d3'  
X:1
L:1/8
M:6/8
K:A
 G | A3 Ece | fga ecA | d3 cec | BAB cAF | E3 Ace | fea ecA | d3 ecA | EGB A2 :| aec fga | 
 ecA B2 z | d3 cec | Bcd efg | a2 e fga | ecA B2 z | d3 ecA | EGB A2 :|  