(2x^2+3x-15) divided by (x-3)

synthetic division

3 | 2 3 -15
.........6 27
......2 9 12

(hope the spacing is somewhat legible)

(2x^2 + 3x - 15) รท (x-3) = 2x+9 + 12/(x-3)