Simplify cos(x)^2+tan(x)sin(x)cos(x)