Let $(X_1,d_1)$ and $(X_2,d_2)$ be two metric spaces. Define a new metric space $X=X_1 \times X_2$, such that for $x=(x_1,x_2)$, $y=(y_1,y_2)$, we have
$$d(x,y)=\sqrt{d_1(x_1,x_2)^2+d_2(y_1,y_2)^2}$$
I cannot decide whether $d(x,y) \leq d(x,z)+d(z,y)$ or not. I think that we cannot know it.
and $d(x,y)=0$ if and only if $x=y$.but if we solve,then $x_1=x_2$ and $y_1=y_2$. But this doesn't show that $x=(x_1,x_2)=(y_1,y_2)=y$ because of $x_1$ not equal to $y_1$. Because given information is not enough.So this may not be metric.
Am I right?