Answer
$2$
Work Step by Step
The subtrahend is negative so replace $\color{blue}{-(-7)}$ with $\color{red}{+7}$ to obtain:
$-5\color{blue}{-(-7)}=-5\color{red}{+7}$
Since $|7|>|-5|$, subtract $|-5|$ from $|7|$, then copy the sign of $7$ to obtain:
$\begin{align*}
-5+7&=|7|-|-5|\\
&=7-5\\
&=2
\end{align*}$