Simplify (cot(x)^2+1)(sec(x)^2-1)