Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:6/8
K:A
['ecA edc'  
X:1
L:1/8
M:6/8
K:A
{A} B |"A" cAE"^(E7)" FEC |"A" EAc ecA |"D" def"A" edc |"Bm" cBB"E7" Bed |"A" cea ecA | 
"D" dfa"A" ecA | edc"E7" efg |"A" aec A2 ::{c} d |"A" eaa"D" agf |"A" ecA Ace |"Bm" fbb"B7" b2 a | 
"E7" gee efg |"A" aba"E7" gag |"D" fgf"A" ecA |"D" def"A" edc |"E7" BFG"A" A2 :|  