I just need help on the restrictions part

Answer:
B
Step-by-step explanation:
x² - 10x -24 = (x + 2) (x - 12) ....(1)
x² - 3x - 108 = (x + 9) ( x - 12) ....(2)
(1) / (2) formula (2) can't be 0 ∴ x ≠ -9 and x ≠ 12
(1) / (2) = (x + 2) / (x + 9)
answer is (B)