Respuesta :

-22 = -40 + r

-22 (+40) = -40 (+40) + r

r = -22 + 40

r = 18

hope this helps
-40+r=-22
(Add 40 to both sides)
-40+r+40=-22+40
(Simplify)
R=18