Yes, the answer is C because as CaptainBlack said, to be differentiable, a function must be continuous, and therefore its derivatives should have values and be continuous. This gives you two equations with two unknowns. You probably had the f(x) values equal to each other at one, but you may have not realized that f'(x) should be continuous at that point as well.