You should note that , so

and .

From the second equation, we can see that either or .

If then

and since the hyperbolic cosine is always positive, that means we can only accept even values for , so and .

So the first solution is .

See if you can get the second solution, for where .