ANSWER :
2 and -4
EXPLANATION :
Let x = number
and
y = other number
Twice the number (2x)
minus another number (y) is 8
That will be :
2x - y = 8
Their sum is -2, so :
x + y = -2
We now have two equations and two unknowns.

Add the two equations to eliminate the variable y :

Substitute x = 2 to the second equation :

So the numbers are 2 and -4