The first is just using the chain rule. Unless you had to use the limit process?
The second may use the first:
f' = cf <=> f'/f=c <=> ln(abs(f)) = cx + c' <=> abs(f) = e^(cx+c') = e^(cx)*e^c' = k*e^(cx) where k=e^c'.
if f > 0, you may drop the absolute value sign. otherwise, note if f(x) <0 for some x, that says k=e^(c') < 0, which is never true.