You have the next equation:
[tex]-8-(-10)=2[/tex]When you subtract a negative number, it leads you to an addition. In other words, a minus sign followed by a negative sign, turns the two signs into a plus sign:
[tex]-(-10)\text{ becomes +10}[/tex]Then, the equation will become into:
[tex]-8+10=2[/tex]