Exercise 9. Let (X, d) be a connected metric space and let A be a connected subset of X. Assume that the complement of A is the union of two
separated sets B and C. Prove that AUB and AUC are connected. Prove also that if A is closed,then so are AUB and AUC.