Given $x\in X$, there exist $\{y_n\}\subset K$ such that $d(x,K)<||x-y_n||<d(x,K)+1/n$ by the definition of infimum. Since $X$ is reflexive Banach, by Banach-Eberlein-Smulian Theorem, there exist $\{y_{n_k}\}$ such that $y_{n_k}\rightharpoonup y$ for some $y\in K$. By Banach-Mazur Theorem, there is $\{p_n\}$ such that $p_n$ is a convex linear combination of $y_1,y_2,...,y_n$ and $p_n\rightarrow y$. Then $y\in K$ since K is convex and closed. Then $d(x,K)\leq d(x,y)=d(x,\lim_{n\rightarrow\infty}p_n)=\lim_{n\rightarrow\infty}d(x,p_n)\leq d(x,K)+1$, where the last inequality is from $p_n$ being convex linear combination of $y_1,y_2,...,y_n\ \forall n$. Doing the previous argument for $\{y_n\}_{n=2}^\infty,\{y_n\}_{n=3}^\infty,\{y_n\}_{n=3}^\infty,...$, we can get $d(x,K)\leq d(x,y)\leq d(x,K) + 1/n \ \forall n$, which implies $d(x,y)=d(x,K)$.
Banach-Eberlein-Smulian Theorem:Let $X$ be a Banach space, then it is reflexive iff every bounded sequence has a weakly convergent subsequence.
Banach-Mazur Theorem: If $x_n\rightharpoonup x$, then there exist $p_n$ such that $p_n\rightarrow x$ and $p_n$ is a convex linear combination of $x_1,x_2...x_n$.