Design melodies following the assigned musical pattern while integrating the provided thematic element.
X:1
L:1/8
M:4/4
K:A
['cFEA F3 E']  
X:1
L:1/8
M:4/4
K:A
 cFEA F3 E | FAef eAcA | B/c/d/ec AB B2 | cF F2 EAed | cFEA F3 E | FAEF FEFd | deed e2 ee | 
 fBBA BAFA :|  