A set of all real roots of the equation x (x ^ 2-2x-3) = 0 How can I solve this equation?

A set of all real roots of the equation x (x ^ 2-2x-3) = 0 How can I solve this equation?

Is x ^ 2 the second power of X? If so, it is as follows:
0 times any number equals 0
So x = 0 or x ^ 2-2x-3 = 0
x^2-2x-3=0
(x-3)(x+1)=0
x=3or-1
So the solution set of the original equation is {0,3, - 1}