Simplify Trigonometric Expression with Double-Angle Formulas