Solve for x 0=-x^2+1