solving trigonometric equations using double angle identities