Subtract 5 from both sides to make the equation equal to 0. You will get the equation x2-10x+24=0. Now think of two numbers that multiply to get 24 but add to get -10. These numbers are -6 and -4. The factors of x2 are x and x which multiply to get x2. Now put two linear factors into parathesis to get (x-6)(x-4) = 0.