How to do primary school mathematics equation checking format

How to do primary school mathematics equation checking format

Test: substitute x = into the original equation
On the left side of the equation = (substitute the result of the solution of the equation for calculation)
On the right side of the equation=
Equation left = equation right
So x = is the solution of this equation