How do you use the double angle or half angle formulas to rewrite the expression sin2x + cosx as one involving only sinx and cosx?