4. The best way is to plug in the value a=0 in the equation.
and see if the right hand side of the equation is equal to the left hand side of the equation.

meaning a=0 is Not the solution of the equation
5.

meaning x=0 is Not the solution of the equation
6. Now let us solve for x in this case

x=2 0r x=-1
-1 and 2 are the solutions of the equation