exercise : A function $f$, continuous on the positive real axis, has the property that $$\int_{1}^{xy}f(t)dt =y\int_{1}^{x}f(t)dt +x\int_{1}^{y}f(t)dt$$ for all $x > 0$ and all $y > 0$. If $f (1) = 3$, compute $f (x)$ for each $x > 0$.
My progress: I derive $f(xy)y = yf(x)+\int_{1}^{y}f(t)dt$ then $x=1$ $$f(y)y=3y+\int_{1}^{y}f(t)dt$$ then don't know what to do.