Given,g(x)={Kx+1,mx+2,0≤x≤33<x≤5 is differentiable Since, g(x) is differentiable therefore it is continuous. at x=3x→3−limf(x)=x→3+limf(x)⇒h→0limf(3−h)=h→0limf(3+h)⇒h→0lim(K(3−h+1))=h→0lim(m(3+h)+2)⇒K4=m(3)+2⇒2K=3m+2 for 0≤x≤3g′(x)=K2x+11 And for 3 g′(x)=mfor differentiability at x=3Lg′(3)=Rg′(3)⇒24K=m⇒K=4mOn Solving Eqs. (i) and (ii), we get2(4m)=3m+2⇒8m=3m+2⇒5m=2⇒m=52And K=58∴K+m=58+52=510=2