It is necessary to solve by simplifying the examples. For example:
-3 + (+ 9) - (+ 5) = -3 + 9-5 = -3-5 + 9 = 17
If I am not mistaken this is correct
a) −3 + (+7) + (−3);
b) −13 + (−87) − (−5);
c) 31 − (−7) + (−31) − (−3);
d) −78 + (−73) + (−22) + (−27);
e) −22 − (+38) − (−43) − (−17);