My attempt: $f(x+y)=f(x)f(y)$
Differenting wrt $y$,
$$f'(x+y)=f(x)f'(y)$$
Putting $y=0$,
$$f'(x)=f(x)f'(0)=kf(x)$$
$$\frac{dy}{dx}=ky$$
We know, $y \neq 0$ because $y$ is different everywhere so dividing by y and integrating both sides
$$\int \frac{dy}{y}= \int dx$$
$$\ln \lvert y\rvert = kx + c$$
(We can get $c=0$ by putting $x=y=0$ in the first equation)
$$y = \pm {e}^{kx}$$
Doubt: Shouldn't we get $y = \pm {a}^{kx}$ as solution where $a$ $\in$ $R$ except $0$ ?