Hi, i need some help with problem;

Let (X,d) be a metric space.

I define a relation x~y on X by declaring x~y iff there exist a connected subset of X which contains both x en y.

How can i show that this is a equivalence relation and that the equivalence classes of this relation are all closed and connected?

Thanks for your help!