Find $f(x)$ if: $$f: R \to R$$ $$f(3x) = 3f(x)$$
I've tried to find $f(x)$ by differentiating:
\begin{align}(f(3x))' &= (3f(x))'\\ 3f '(3x) &=3f '(x)\\ f '(3x) &= f '(x)\\ f'(3x) - f '(x) &= 0\\ (f(3x) - f(x))' &= 0\tag{$\dagger$}\\ (2f(x))' &= 0\\ &\Downarrow\\ f(x) &= c\end{align}
for $c$ constant.
I know, that I am wrong, but I don't know why. I think, that my mistake is in $(\dagger)$. But I can't explain why.
Could you please help me to solve this equation and explain, what's wrong?