Since the constant is positive then the two constants in the binomial is of the same sign and since -5m is negative then the two constants in the binomial is negative. We need to find two numbers with a product of 6 and a sum of -5 and we would find -2 and -3.
So:
[tex]m^2-5m+6 = (m-2)(m-3)[/tex]