So you need to find c and x such that and they have the same derivative for that x. That is two equations to solve for x and c.
I will give you one derivative free- the derivative of is , for all x. What is the derivative of ? (That will depend on x.)