I need th proving this theorem:
Let $(X, d)$ is metric space and let $(X_1, d_1)$ is its subspace. The set $G_1\subset X_1$ is open set in $X_1$ if and only if there is an open set $G$ in $X$ such that $G\cap X_1=G_1$. The set $F_1\subset X_1$ is closed set in $X_1$ if and only if there is an closed set $F$ in $X$ such that $F\cap X_1=F_1$.
Prove: First part of the theorem I've proved i.e. (The set $G_1\subset X_1$ is open set in $X_1$ if and only if there is an open set $G$ in $X$ such that $G\cap X_1=G_1$.)
But I do not know how to prove the second part of the theorem (The set $F_1\subset X_1$ is closed set in $X_1$ if and only if there is an closed set $F$ in $X$ such that $F\cap X_1=F_1$).
Please if anyone can help me to prove the second part of the theorem, thank you, for your help and your attention