How to check the linear equation of one variable

How to check the linear equation of one variable

x+1=0
x=-1
Take x = - 1 into the original equation
-1+1=0
So x = - 1 is the solution of the original equation
Choose me