How many roots of real number of cubic equation of one variable

How many roots of real number of cubic equation of one variable

x²(x-2)-(x-2)=0
(x-2)(x²-1)=0
(x-2)(x+1)(x-1)=0
So there are three