sketch the curve of y=x-1/x^2-x-6

You need parentheses around numerator and denominator.

We can't draw graphs here.

Expect singularities at x=3 and x=-2