# Determine $f$ such that $f'(x^2)=\frac{1}{x}$ for $x>0$ and $f(1)=1$

I am having a problem with the following exercise. I have to determine the function f such that:

$$f'(x^2)=\frac{1}{x} \text{ for } x>0, \quad f(1)=1$$