Câu hỏi 6Cho $f:(0,+\infty)\to(0,+\infty)$ thỏa $xf(x)-yf(y)=f(y)-f(x)$ với mọi $x,y>0$. Biết $f(2018)=2$, tính $f(1)$.