Answer
$x=\left\{ -2,9 \right\}$
Work Step by Step
Factoring the given equation, $
x^2-7x-18=0
,$ results to
\begin{array}{l}\require{cancel}
(x-9)(x+2)=0
.\end{array}
Equating each factor to zero (Zero Product Principle), then the solutions to the equation, $
(x-9)(x+2)=0
,$ is
\begin{array}{l}\require{cancel}
x-9=0
\\\\
x=9
,\\\\\text{OR}\\\\
x+2=0
\\\\
x=-2
.\end{array}
Hence, $
x=\left\{ -2,9 \right\}
.$