Factoring from the numerator of produces:

Consequently, . However, is not in the domain of , so disregard it.

Therefore, the error in your derivative doesn't change the ultimate answer. Just pointing it out in case you are graded on the correctness of your work.