[step:Suppose $I(V)$ is not prime and decompose $V = V_1 \cup V_2$]
Suppose $I(V)$ is not prime. Since $V$ is a variety, $I(V)$ is a proper ideal of $k[X_1, \ldots, X_n]$ (it does not contain $1$, since $V$ is non-empty for a variety in our convention; more carefully, the empty variety has $I(\varnothing) = k[X_1, \ldots, X_n]$, which is conventionally not called prime). The negation of primality therefore gives polynomials
\begin{align*}
g_1, g_2 \in k[X_1, \ldots, X_n], \qquad g_1, g_2 \notin I(V), \qquad g_1 g_2 \in I(V).
\end{align*}
Define
\begin{align*}
V_i := V \cap V(g_i) = \{p \in V : g_i(p) = 0\}, \qquad i = 1, 2.
\end{align*}
Each $V_i$ is closed in $V$ (intersection of $V$ with the Zariski-closed set $V(g_i)$), and each $V_i \subset V$.
We claim each $V_i \subsetneq V$ is a strict subvariety. If $V_i = V$, then $g_i$ would vanish on every point of $V$, i.e. $g_i \in I(V)$, contradicting $g_i \notin I(V)$.
We claim $V = V_1 \cup V_2$. The inclusion $V_1 \cup V_2 \subset V$ is immediate from $V_i \subset V$. For the reverse: take any $p \in V$. Then $(g_1 g_2)(p) = 0$ since $g_1 g_2 \in I(V)$, i.e. $g_1(p) g_2(p) = 0$. Since $k$ is an integral domain (in fact a field), this forces $g_1(p) = 0$ or $g_2(p) = 0$, i.e. $p \in V(g_1)$ or $p \in V(g_2)$. Combined with $p \in V$, we get $p \in V_1$ or $p \in V_2$, hence $p \in V_1 \cup V_2$.
Thus $V$ is the union of two closed proper subvarieties, so $V$ is reducible.
[/step]