Solving Trig Functions Using Identities