A real-valued function f defined for nonzero real numbers satisties f(1/x)+1/x*f(-x) = 2. What is the value of f(2)?

I expect you are missing brackets.

Even if you are not you should put them in so people are sure what your question is.

I know people here often just interpret the question but maths is precise and you should learn to ask your question in a truly unambiguous way.