Answer:
Please check the explanation!
Step-by-step explanation:
[tex]\left(-40\right)-\left(-62\right)[/tex]
[tex]\mathrm{Remove\:parentheses}:\quad \left(-a\right)=-a,\:-\left(-a\right)=a[/tex]
[tex]=-40+62[/tex]
[tex]\mathrm{Add/Subtract\:the\:numbers:}\:-40+62=22[/tex]
[tex]=22[/tex]
[tex](-62)-(-40)[/tex]
[tex]\mathrm{Remove\:parentheses}:\quad \left(-a\right)=-a,\:-\left(-a\right)=a[/tex]
[tex]=-62+40[/tex]
[tex]\mathrm{Add/Subtract\:the\:numbers:}\:-62+40=-22[/tex]
[tex]=-22[/tex]