The key thing is that infinity isn't a number in the traditional sense, so we need to carefully build up our intuition and how we think about infinity.
When we say $x$ tends to infinity, rigorously speaking, we mean that it gets arbitrarily large. For example, $x^2 \rightarrow \infty$ as $x \rightarrow \infty$ since, as $x$ gets arbitrarily large, $x^2$ gets arbitrarily large.
We can think of this graphically. Consider the graph $y=x^2$. As $x \rightarrow \infty$, the curve goes off to $\infty$ as well.
Similarly, $5x^2 - 4 \rightarrow \infty$ as $x \rightarrow \infty$, since $5x^2 - 4$ gets arbitrarily large as $x$ does (we see this graphically too).
The key thing to take away from this is that multiplying $x^2$ by $5$ didn't change the fact it's going to $\infty$. Neither did subtracting $4$. In fact, we could multiply, divide, add, or subtract any fixed number we want, but the expression is still going to go off to $\infty$ eventually.
However, if we're adding, subtracting, multiplying or dividing by things that aren't fixed, then it isn't obvious what's happening as $x \rightarrow \infty$. For instance, individually, $x$ and $-x^2$ both go off to $\pm \infty$ individually, but what happens to $x-x^2$?
In general, anything can happen when we have sums and quotients of things that go to $\infty$ separately. We call these 'indeterminate'. For indeterminate forms, we need to use other tricks and theorems to determine what's going on.
For example, for $x-x^2$, graphically we see that it goes to $-\infty$ as $x \rightarrow \infty$. This is because $x^2$ gets bigger much faster than $x$.
For the quotient in your question, there are a few tools at our disposal. Dr. Graubner's solution shows one such trick, and L'Hôpital is another.
Hope this helped with how to think about these things. I'd also advise going back through your notes (or the internet) and revising the rigorous definitions regarding what it means to tend to infinity.