The curve $C$ has equation $y=\frac{x^{2}+x-4}{x^{2}+x+2}$.
a. State the equation of the asymptote of $C$. [1]
b. Show that, for all real values of $x,-\frac{17}{7} \leqslant y<1$. [4]
c. Find the coordinates of any stationary points of $C$. [3]
d. Sketch $C$, stating the coordinates of the intersections with the axes. [3]
e. Sketch the graph with equation $y=\frac{|x|^{2}+|x|-4}{|x|^{2}+|x|+2}$ and find the set of values of $x$ for which $\frac{|x|^{2}+|x|-4}{|x|^{2}+|x|+2}<-\frac{1}{2}$. [5]