Let $L$ be the language $\{c_n : n \in \mathbb{N} \}$, and $T$ the theory $\{c_i \neq c_j : i < j < \omega \}$. I want to show that $T$ has quantifier elimination (QE).
It suffices to show QE for formulas of the form $\exists x \, \varphi(x, \bar{y})$, where $\varphi$ is a conjunction of literals. Moreover, since logically
$$ \exists x(\varphi(x, \bar{y}) \land \psi(\bar{y})) \leftrightarrow \exists x \, \varphi(x, \bar{y}) \land \psi(\bar{y}) $$
we can assume $\varphi$ is a conjunction of atoms $x = y_i$, $x = c_j$, $x \neq y_n$, $x \neq c_m$. But then clearly $\exists x \, \varphi \leftrightarrow \bot$ or $\exists x \, \varphi \leftrightarrow \top$.
I must have misunderstood something, because this is supposed to be a (relatively) tough exercise. Any help?
The formula $$\exists x\, (x = y \land x = z)$$ is not equivalent to $\top$ or $\bot$, it's equivalent to $y = z$. So you have more cases to consider involving variables. I still wouldn't say the exercise is tough, but you have to be very careful not to overlook anything! (It's better to avoid writing "clearly"...)