I am trying to follow Theorem (3.11) of Kechris's Classical Descriptive Set Theory. In this part of the proof he shows that a $G_{\delta}$-subspace Y of a completely metrizable space $(X,d)$ is completely metrizable. For this, he defines the following metric. Sadly, he skips over why this new metric induces the subspace topology. Here is the relevant part of the proof: (screenshot)
$\quad$ For the second assertion, let $Y=\bigcap_{n} U_{n}$, with $U_{n}$ open in $X$. Let $F_{n}=X \backslash U_{n}$. Let $d$ be a complete compatible metric for $X$. Define a new metric on $Y$, by letting $$ d^{\prime}(x, y)=d(x, y)+\sum_{n=0}^{\infty} \min \left\{2^{-n-1},\left|\frac{1}{d\left(x, F_{n}\right)}-\frac{1}{d\left(y, F_{n}\right)}\right|\right\} . $$ It is easy to check that this is a metric compatible with the topology of $Y$.
Because of $d'(x,y)\geq d(x,y)$ it follows that any for $\epsilon > 0$ and any $x\in X$, $B_{d'}(x, \epsilon) \subset B_d(x, \epsilon)$. So any set open in $(X, d)$ is also open in $(Y, d')$. But I can't figure out the other direction. Any help is appreciated.
Kechris, Alexander S., Classical descriptive set theory, Graduate Texts in Mathematics. 156. Berlin: Springer-Verlag. xx, 402 p. (1995). ZBL0819.04002.