How do I solve this equation please?

x^2 + -5x = 0

"+ -5x" is the same thing as -5x. Why would you write it that way?

x(x-5) = 0

x = 0 or 5