n - (-5) =35
n−(−5)=n+5. When subtracting negative integers, you add them, as a−(−b)=a+(−1)(−b)=a+b.
Doing that, we get n+5=35, n=30.