Yes, you're on the right track. Set the derivatives (slopes) of the two equations equal, and find what the corresponding value for x is. Then set the two equations equal to each other at that value of x (since you know they go through the same point where the slopes are the same) and solve for C.