Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:6/8
K:Amin
['cAA eAA dBG', 'A2 B de^f g2 f edc Bcd'  
X:1
L:1/8
M:6/8
K:Amin
 A/B/ | cAA eAA | dBG GAB | cAA eAA | dBG A2 B | cAA ece | dcd GBd | ^f/g/af gfe | dBG A2 :| B | 
 de^f g2 f | edc Bcd | e^fg aga | bgg e2 ^f | g^fa gfe | dcd Bcd | cBc age | dBG A2 :|  