I am trying to prove the following statement, but I do not see how to proceed:
Let $(X_1,\tau_1),(X_2,\tau_2)$ be two topological spaces. Let the no. of connected comp. of $X_1$ and $X_2$ be finite. Then the no. of connected comp. of $X_1 \times X_2$ (equipped with the product topology) is equal to the no. of connected comp. of $X_1$ multiplied with the no. of connected comp. of $X_2$.