a minus the fraction a^2-a-6 over 2(a-3)

thank you

since a^2-a-6 = (a-3)(a+2),

(a^2-a-6) / 2(a-3) = (a+2)/2

a - (a+2)/2 = (a-2)/2 = a/2 - 1