For a start, I think it can be easier to think of your problem in terms of two equivalent formulas about the predicate $P$ instead of two equivalent definitions, that is to consider this equivalence:
$$
\exists u (P(u) \land \forall v (P(v) \Rightarrow v = u))
\Leftrightarrow
\exists x P(x) \land \forall y \forall z (P(y) \land P(z) \Rightarrow y = z)
$$
Note that I changed also the variable names to have them all distinct. It can help avoid confusion during the proof.
$\Rightarrow$ direction
We know that there exists $u$ such that $P(u)$ (1) and $\forall v(P(v) \Rightarrow v = u)$ (2). Now take $x = u$ and we can infer $\exists x P(x)$. Now consider arbitrary $y$ and $z$ such that $P(y)$ and $P(z)$ hold. We can apply (2) to deduce $y = u$ and $z = u$. Using the properties of equality we obtain $y = z$, which completes the proof of the right side.
$\Leftarrow$ direction
We know $\exists x P(x)$ (3) and $\forall y \forall z (P(y) \land P(z) \Rightarrow y = z)$. We can take $x = u$ and infer $P(u)$ from (3). Now consider an arbitrary $v$ such that $P(v)$. We can apply (4) on $y = v$ and $z = u$ to obtain $v = u$ and complete the proof.
Discussion
Notice that if we replace equality with an arbitrary binary predicate $Q$, the $\Leftarrow$ will still work, but the $\Rightarrow$ direction needs $Q(y, u) \land Q(z, u) \Rightarrow Q(y, z)$ for the last step. So in some sense the second definition is stronger because it implies the first one without relying on what equality is as a binary relation.