I'm not sure to which question these particular calculations belong

The slope of the curve is calculated by the first derivative:

According to he question you are asked to determine the value of x if

...

You forgot to use the chainrule:3). The derivative of y = cos2θ is

− 2cosθ sinθ

...

With you'll get: