\(\Leftrightarrow\left(2x+5\right)\left(x-3\right)-\left(x-3\right)\left(x+3\right)=0\)
=>(x-3)(2x+5-x-3)=0
=>(x-3)(x+2)=0
=>x=3 hoặc x=-2
x2-9=(x-3)(2x-5)
(=) (x-3)(x+3)=(x-3)(2x-5)
(=) (x-3)(x+3)-(x-3)(2x-5)=0
(=) (x-3)(x+3-2x+5)=0
(=) (x-3)(8-x)=0
(=)x-3=0 hoặc 8-x=0
(=)x=0 hoặc x=8
Vậy S=\(\left\{0;8\right\}\)