I need help with this problem. I want to know that I did it myself so I'm just going to describe it on here and ask how to do it.

I am given function g, which is defined in two pieces. Each piece has an unknown variable in it (k in the first piece and m in the second). It then says if g is differentiable at x=3, what are the values of k and m.

Somebody please help