Vì \(\frac{n}{m+2017}=\frac{2017}{m+n}\Rightarrow n\left(m+n\right)=2017\left(m+2017\right)\Rightarrow n=2017\)
\(\frac{m}{n+2017}=\frac{2017}{m+n}\Rightarrow2017\left(n+2017\right)=m\left(m+n\right)\Rightarrow m=2017\)
\(\Rightarrow x=\frac{2017}{2017+2017}=\frac{2017}{2017+2017}=\frac{2017}{2017+2017}=\frac{1}{2}\)