Solve for x x+10=x^2-1