x2-2x-15=(x2-5x)+(3x-15)=x(x-5)+3(x-5)=(x-5)(x+3)
\(x^2-3x-15=\left(x^2-2.\dfrac{3}{2}x+\dfrac{9}{4}\right)-\dfrac{69}{4}=\left(x-\dfrac{3}{2}\right)^2-\left(\dfrac{\sqrt{69}}{2}\right)^2\)
\(=\left(x-\dfrac{3}{2}-\dfrac{\sqrt{69}}{2}\right)\left(x-\dfrac{3}{2}+\dfrac{\sqrt{69}}{2}\right)\)
\(x^2-2x-15=\left(x-5\right)\left(x+3\right)\)