If $(X, d_x)$ and $(Y, d_Y)$ are connected, show that $(X \times Y, d)$ where $d((x_1, y_1), (x_2, y_2)) = d_x(x_1, x_2) + d_Y(y_1, y_2)$ is connected.
Proof: Suppose that $(X \times Y, d)$ is not connected, then there exist open sets $U$, $V$ of $(X \times Y, d)$ such that $U \cup V = X \times Y$ and $U \cap V = \emptyset$ and $U \neq \emptyset$ and $V \neq \emptyset$
We claim that $\pi_X : (X \times Y, d) \to (X, d_X)$ defined by $\pi_X(x, y) =x$ is an open map.
Firstly recall that $\pi_x[U] = \{\pi_X(x, y) \ | \ (x, y) \in U\}$.
Pick $x \in \pi_X[U]$, then $x = \pi_X(x, y)$ for some $(x, y) \in U$. Since $U$ is open in $(X \times Y, d)$ there exists an $r > 0$ such that $B_{(X \times Y, d)}\left((x, y), r\right) \subseteq U$. We will now show that $B_{(X, d_X)}(x, r) \subseteq \pi_X[U]$.
Let $\alpha \in B_{(X, d_X)}(x, r)$, then $d_X(x, \alpha) < r$. Now note that $(\alpha, y) \in B_{(X \times Y, d)}\left((x, y), r\right)$ since $$d\left((x, y), (\alpha, y)\right) = d_X(x,\alpha) + d_Y(y, y) = d_X(x, \alpha) + 0 = d_X(x, \alpha) < r$$
Then we have $\pi_X(\alpha, y) = \alpha$ hence $\alpha \in \pi_X[U]$, thus proving that $B_{(X, d_X)}(x, r) \subseteq \pi_X[U]$. Since $x$ was chosen arbitrarily we have $\pi_X[U]$ to be open in $(X, d_X)$. Therefore $\pi_X$ is an open map.
Hence since $U$ and $V$ are open sets of $(X \times Y, d)$ we have $\pi_X[U]$ and $\pi_X[V]$ to be open sets of $X$.
Now it is relatively straightforward to show that $\pi_X[U] \cup \pi_x[V] = X$ and since $U \cap V = \emptyset$ we have $\pi_X[U] \cap \pi_X[V] = \emptyset$. Furthermore we have $\pi_X[U] \neq \emptyset$ since $U \neq \emptyset$ and $\pi_X[V] \neq \emptyset$ since $V \neq \emptyset$. Thus $X$ is disconnected a contradiction. $\square$
Is my proof correct? Can I improve it in any way? Are there any shorter or more efficient ways to prove this?