Simplify (tan(x)+1)^2