x - (2018 - x) = x - 2017x
<=> \(x-2018+1=x-2017\)x
<=> \(x-x+2017x=-1+2018\)
<=>\(\left(1-1+2017\right)x=2017\)
<=>\(2017x=2017\)
<=>\(x=1\)
\(x-\left(2018-x\right)=x-2017x.\)
\(\Leftrightarrow x-2018+x+2017x-x=0\)
\(\Leftrightarrow2018x=2018\)
\(\Leftrightarrow x=1\)