Let $ (H, (·, ·)) $ be a (separable) Hilbert space and let $ K \subset H$ be a nonempty, closed, convex set. Let $x \in H$ and denote by $x_{k} \in K$ the unique element such that $ d(x,K) = \parallel x − x_{k} \parallel $.
(i) Prove that \begin{alignat*}{6} (x − x_{k}, y − x_{k}) \leq 0 \ \ \ \forall y \in K \end{alignat*}
(ii) Let $ \{ x_{n} \} \subset K$ be such that $ x_{n} \rightharpoonup x $. Prove that $ x \in K$ (hint: use (i))
I'm having some difficulty with the second point