I suppose x should be π.
Recall the double angle identity for cosine:

Then remember for
, we have
.
Let
. Plugging this into the equation above gives

Take the square root of both sides; this introduces two possible values, but we know
should be positive, so
