Prove that $(X,d)$ is complete iff every $(X_n,d_n) \ n \in \mathbb{N}$ is complete.
Let $(X_n, d_n) \ n \in \mathbb{N}$ be a family of metric spaces. Define
$$ X = \prod_{n=1}^{\infty} X_n = \{(x_n)_{n \in \mathbb{N}} : x_j \in X_j\} $$
Furthermore let $(\gamma_n)_{n \in \mathbb{N}} \subset (0, \infty)$ be a sequence s.t $\sum_{n=1}^{\infty} \gamma_n < \infty$. Let $x,y \in X$ where $x = (x_n)_{n \in \mathbb{N}}$, $y = (y_n)_{n \in \mathbb{N}}$ and define
$$ d(x,y) = \sum_{n=1}^{\infty} \gamma_n \frac{d_n(x_n,y_n)}{1 + d_n(x_n,y_n)} $$ where $d(x,y)$ is a metric on $X$.
I need a hint on how to get started on this problem.