(2) is the correct answer.

     Because:
     x2-7x+12=0 => (x-3)(x-4)=0 => x=3, x=4