Let us consider the metric spaces $\mathbb{R}$ and $\mathbb{R}^2$ equipped with usual metrics $d_1, d_2$ respectively.
If $G_1, G_2$ be two open sets in $\mathbb{R}$ then justify that $G_1\times G_2$ is an open set in the metric space $(\mathbb{R}^2, d_2)$.
I was studying metric spaces while this question came to my mind. I am not sure if my question is correct or not.
In case, if it is incorrect please help me by editing it and give me a correct version of it. Else please help me to prove it.
What I have tried so far : Let $(g_1, g_2)\in G_1\times G_2$. Since both $G_1, G_2$ are open sets so there exist open balls $B(g_1, r_1), B(g_2, r_2)$ for some $r_1>0, r_2>2$ such that \begin{align} &g_1\in B(g_1, r_1)\subseteq G_1\\ &g_2\in B(g_2, r_2)\subseteq G_2 \end{align} After this I dont know how to get an open ball for $B((g_1, g_2), r)$ for some positive $r$.
Is my approach correct ?