Actually, among functional equations this is counted among the fundamental ones known as Cauchy Functional Equations:
They are
1.f(xy) = f(x) + f(y) for which the general solution as f(x) = f'(1) ln|x|
2. f(x+y) = f(x) + f(y) with the general solution f(x) = cx
3. f(xy) = f(x) f(y) with the general solution f(x) = |x|c
4. f(x+y) = f(x) f(y) with the general solution f(x) = ax
It sometimes helps to convert a given functional equation into one of these standard forms as the solutions are already known.
Here we are given that f(x) = f(y) f(y-x).
You can rewrite it as f(y + y-x) = f(y) f(y-x) and recognise that this is in the standard form No.4 given above, which means the function is f(x) = ax
Now, f'(x) = ax log a = f(x) log a.

tells us that log a = p
Hence 
So you can see how much it simplifies life