There was a misprint in your book. Almost every book has some typos.
So don't be too surprised that you found an error in the book.
If the problem had been
the answer would have been x²+1.
But your answer "A" is correct for what you were given.
Edwin