How do I solve 2x^2-5x=0 by factoring, I tried taking the two out, but that doesn't seem to be working.

2x^2-5x =

x(2x-5) = 0
x = 0, 5/2