condition for continuity = LHL = RHL = f(0) , here f(0) = k
we have to find limit of this at x=0 $log(1+ax) - log(1-bx) / x$
so , if i put x=0 i will get indeterminant form of 0/0 L-hospital rule use karo
after differentiating =$\frac{a}{1+ax} - \frac{-b}{1-bx}$
now put again x=0 , we get a -(-b) = a+b
LHL = RHL = f(0)
a+b =k