The product of the first terms must give us \(x^2 = x\cdot x\text{,}\) so we start with
\begin{equation*}
x^2-2 x-15 = (x - ??)(x-??).
\end{equation*}
The product of the last two must give us \(-15\text{.}\) Put aside the sign for a moment and consider all the integer factorization of \(15\text{:}\)
\begin{equation*}
15 = 1\times 15, \quad 3\times 5.
\end{equation*}
Try each one, adjusting the sign of each term. For example, none of
\begin{equation*}
(x - 1)(x-15), \quad (x+1)(x-15), \quad (x-1)(x+15), \quad (x+1)(x+15)
\end{equation*}
could work. The outer and inner terms all require adding or subtracting \(1x\) and \(15x\) which will never result in our middle term of \(-2x\text{.}\) So letβs try
\begin{equation*}
(x\pm 3)(x \pm 5)
\end{equation*}
which looks more promising since \(3x\) and \(5x\) will combine with the right sign to get \(-2x\text{.}\) Think about each possibility of sign to conclude
\begin{equation*}
x^2-2 x-15 = (x + 3)(x - 5).
\end{equation*}