We are given the following expression
-2 + (-5)
The plus before the parenthesis means that we keep the signal of everything that is inside.
So
-2 + (-5) = -2 - 5
Now we have two numbers with the same signal. So we keep the signal, and add them
-2 + (-5) = -2 - 5 = -(2+5) = -7