Because our teacher made a test hard enough that no one in our class understood, he decided to give it to us as open-book homework. I really need help with some questions.

Prove: 1 - tan^2x = cos2x
sec^2x

In case anyone doesn't know what I mean, ^2 means squared.