For function satisfying given conditions prove that $f(x). f(\frac{1}{x})=1$ If $f(x \times f(y)) =\frac{f(x)}{y}$ for every $x,y \in R$ and $y \neq0$, then prove that $f(x)\times f(\frac{1}{x})=1$

Is it possible to find the function $f(x)$ here using the given data? I tried it by using $x=0$ and $y=k$ ($k$ is any non-zero number), to get $f(0)$ then tried using partial differentiation with respect to x but the $f(y)$ is creating problem. Could someone please help me with it?
Write $a:=f(1)$, assumed non-zero for non-triviality; then putting $y=1$ gives $f(ax)=f(x)$, from which follows that $f(a)=a$. Putting $y=a$ gives $f(xa)=f(x)/a$, so $f(a)=1$. Hence $a=1$, that is, $f(1)=1$.

Putting $x=1$ gives $f\circ f(y)=1/y$. Thus $f(1/x)=f\circ f\circ f(x)=1/f(x)$, which is the required relation.
It is simply not true if $f(x)=0$.