Ok, I will outline the steps:
Put y=1, and obtain f'(x) f \left(\frac{1}{x} \right) = \frac{x^2+1}{x}...........1
Put x = 1 and obtain f(x) f' \left(\frac{1}{x} \right) = \frac{x^2+1}{x}...................2
Now let g(x) = f(x) f \left(\frac{1}{x} \right)...................3
So that g'(x) = f'(x) f \left(\frac{1}{x} \right) - \frac{1}{x^2} f(x) f' \left(\frac{1}{x} \right) = x - \frac{1}{x^3}................4
Note by putting x =y that f'(1) =2
Now integrate between limits 1 and x to obtain
g(x) = f(x) f \left(\frac{1}{x} \right) = \frac{x^2}{2} + \frac{2}{x^2} - \frac{1}{2}...............5
From 1 and 5, we have
\frac{f'(x)}{f(x)} = \frac{2x(x^2+1)}{x^4-x^2+4}
From here again by integrating between limits 1 and x, you will get f(x) and hence f2(x)