How to simplify by factorising and dividing:

X^2-x-6/2x-6

I will assume you meant:

(x^2 - x - 6)/(2x-6) , those brackets are needed

= (x-3)(x+2)/(2(x-3))
= (x+2)/2 , x ≠ 3