Please do not double post.

In order for the function to be continuous at a point, it needs to be defined at that point (which it is at x = 1) and needs to approach the same value from the left as from the right.

So that means in order to be continuous at x = 1, then (do you see why?) Solve for C.