Induction (on the degree of the polynomial) suffices.
As it's clear that the first implies the second, we need only argue that the second implies the first.
This is clear for degree $1$.
Inductively suppose it for degree $n-1$.
Let $P(x)$ have degree $n$. By the second definition it has at least one root, $\alpha$. Then, by standard polynomial division we may write $P(x)=(x-\alpha)\times Q(x)$ where $Q(x)$ has degree $n-1$. Applying the inductive hypothesis to $Q(x)$ shows that the second definition implies the first.
Note: An issue has been raised in the comments, namely the fact that the above assumes that the number of roots (with multiplicity) is an additive function. That is to say, for polynomials $g,h$ if $g(x)$ has exactly $a$ roots and $h(x)$ has exactly $b$ then $f(x)=g(x)\times h(x)$ has exactly $a+b$ roots. This plausible sounding claim is not true for general rings. indeed for $\mathbb Z\big / 4\mathbb Z$ we could take $g(x)=x, h(x)=x$. Then it is clear that both $g,h$ have exactly one root but their product $x^2$ has three ($0$ twice, counting multiplicity, and $2$).
For a field however, like $\mathbb C$, this situation can not happen. Note that $\mathbb Z\big / 4\mathbb Z$ has what are called zero divisors. Non zero elements that multiply to $0$. That's what we used to make the counterexample. $2\neq 0 $ but $2\times 2=0$ in that ring. Fields do not contain such elements. Indeed, if $xy=0$ in a field and $x\neq 0$ we can multiply both sides by $x^{-1}$ to see that $y=0$. (of course, in the prior example, $2$ is not invertible in that ring).
Thus we can establish the Lemma:
Lemma: if $g(x),h(x)\in \mathbb F[x]$ where $\mathbb F$ is a field then the number of roots of $f=g\times h$ is the sum of the number of roots of $g$ and $h$ (taken with multiplicity of course).
Pf: Clearly each zero of $g,h$ gives rise to a root of $f$. We must also show that every root of $f$ arises from a root of either $g$ or $h$ (or both). But if $f(\alpha)=0$ then $g(\alpha)\times h(\alpha)=0$ and since there are no zero divisors in $\mathbb F$ we must have at least one of the factors $g(\alpha),h(\alpha)=0$ and we are done.