Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:2/2
K:Amin
['CEAc BABc'  
X:1
L:1/8
M:2/2
K:Amin
|:"A" A2 cA"D" FA"^(E)"ED |"A" CEAc BABc |"D" d2 fd"A" c2 ec |"Bm" dBcA"E" BAFE | 
"A" AcBA"D" FA"^(E)"ED |"A" CEAc BABc |"D" defg"A" agaf |1"E" ecBc"A" A3 E :|2"E" ecBc"A" A3 B |: 
"A" cA eA"D" fA"^(E)"ed |"A" cAec"E" dBGB |"A" cAeA"D" fe"^(E)"fg |"A" aecA"E" BAFA | 
"A" cAeA"D" fe"^(E)"fg |"^A*" a2 ga"E" bgeg |"A" a2 ga"D" faec |1"Bm" dBcA"E" BAFA :|2 
"Bm" dBcA"E" BAFE |]  