Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:6/8
K:A
['c3 BAB cAF EFG A2 f ecA', 'e3 cde fgf agf'  
X:1
L:1/8
M:6/8
K:A
|: c3 BAB | cAF EFG | A2 f ecA | BcA GFE | c3 BAB | cAF EFG | A2 f ecA | B3 A3 :: e3 cde | 
 fgf agf | e3 edc | BcB GFE | e3 cde | fgf agf | ecf ecA | B3 A3 :|  