This is why I like to do ALL such problems both ways. Not only does it provide more practice and more challenging problems, but I get a result verification for free.
Well, that does support the book. You may wish to recognize that when solving for 'x', there are TWO branches that you might need to consider. Somewhere in that square root, we might need the negative value. Keep your eyes open for it.
There's the first piece. What do you get for the rest?