I often find it difficult to remember all the different identities, so what is useful is instead to just remember the familiar identity sin^2(x) + cos^2(x) = 1 that we have come across many times, and divide both sides by sin^2(x) and cos^2(x) respectively to obtain the two other identities you need.