Note that

So we can rewrite the equation as

This simplifies to

Now, if we make the substitution , the equation now becomes the quadratic equation

This tells us that or

But , so now that means either or

Now can you take it from here and find the values of x that satisfy these two equations, keeping in mind that x has restricted values?