Could someone tell me why x = 0 and also x = 3 in the following equation?

x^2-3x = 0

Thanks

Because x(x-3) = 0

The only value of x that satisfy the equation are the ones that make either factor zero.