Calculate the discriminant.
x2 – 2x + 2 = 0
x2 – 2x + 2 = 0