How does -5 − (-7)=2?

When subtracting a negative number, we can rewrite it as adding the opposite. So, -5 - (-7) is equivalent to -5 + 7.

-5 + 7 = 2

Therefore, -5 - (-7) equals 2.