sin2 (pie/7) + cos2 (pie/7)=
I think that you mean
$$\\sin^2\;\frac{\pi}{7}+cos^2\;\frac{\pi}{7}\\\\ $Well this is very simple because $\\\\ sin^2\theta +cos^2\theta = 1\qquad ALWAYS$$