Evaluate (x^2+1)^3