Suppose the function g is defined by

g(x) = k$\displaystyle sqrt(x + 1)$ for 0 $\displaystyle \le $ x $\displaystyle \le $ 3this is part c on a question, but i dont think you need the information from the original question.

= mx + 2 for 3 < x $\displaystyle \le $ 5

where k and m are constants. If g is differentiable at x = 3, what are the values of k and m.

Thanks!