Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:4/4
K:A
['c/d/e f/g/a e2 ce', 'A/A/A cAcA'  
X:1
L:1/8
M:4/4
K:A
 c/d/e f/g/a e2 ce | dBfB bBfB | c/d/e f/g/a e2 ce | dBge a2 Ae | c/d/e f/g/a e2 ce | dBfB bBfB | 
 cefa efce | defg a2 A || c>A A/A/A cAcA | B>E E/E/E BEBd | cA A/A/A cAcA | BE E/E/E e2 Ae | 
 cAeA fAeA | GEBE GABd | cAeA AaeA | defg a2 A ||  