We can to note that the given quadratic polynomial on the left hand side can be rewritten as follows:

So, the given equation is equivalent to

which implies to conditions:

The former give us

and the latter

Then, by comparing with the given options, the correct choice is the second one: x=-6 or x=3