Simplify cosθ + cosθtan(2θ).