Would this be X method factoring and how would I do it if X isn’t alone to begin with

Answer:
Option C
Step-by-step explanation:
Given polynomial is,
x² - 3x - 18 = x² - 6x + 3x - 18
= x(x - 6) + 3(x - 6)
= (x + 3)(x - 6)
We can rewrite the polynomial in factored form as,
x² - 3x - 18 = (x - 6)(x + 3)
Therefore, (x - 6) will be one of the factors of the given polynomial.
Option (C) is the answer.