(1) is the correct answer.
Because:
x
2
-7x+12>0 => (x-3)(x-4)>0 => x<3 or x>4