"infinity" is only a partial representation for a number. Without knowing where the infinities originate from, you cannot determine if one infinite value is greater or less than another. It is entirely possible that the variable representing "infinity + 5" is greater than "infinity + 10".
The question elicits the reader to make the false assumption that both infinities are initially equal...but it is also obvious that "infinity - 1000 = infinity"...so you can't make that assumption.
So the way you have stated the problem, "infinity + 10" ?= "infinity + 5" is indeterminate....as is "(infinity - 10) ?= (infinity - 5)" for the same reason (your initial question)
However, if we state that:
limit
->infinity of (X+10) = A
limit: x->infinity of (X+5) = B
Although A and B both equal infinity, having known where these infinities came from we can say that A>B and A-B = 5.
Likewise, you could say that
limit: x->infinity of (X^2) = C
limit: x->infinity of (X) = D
And although C and D both equal infinity, you can say that C >= D