We factor the quadratic equation x^2 - 7x + 12 = 0 by finding two numbers that multiply to 12 and add to -7. These numbers are -3 and -4, allowing us to write the equation as (x - 3)(x - 4) = 0. Setting each factor to zero gives the roots x_1 = 3 and x_2 = 4.