Could someone help me with the following problem? Any help would be greatly appreciated.

Let X be a metric space, and let Y c X be closed (in X) and C c Y be closed in Y. Prove that C is closed in X. Show by example that C may or may not be closed if Y is not closed in X.

Thanks