To find out: The derivative of k(r).

Answer: er+ere-1

Given: kr=er+re

The derivative of k is k'r=er+ere-1.

Conclusion: er+ere-1