# cool function

Let $$f: R \longrightarrow R$$ be a function such that $$f(0)=1$$ and for any $$x,y \in R$$ that $$f(xy+1)=f(x)f(y)-f(y)-x+2$$ . Then find $$f(x)$$.

×