I have this practice problem and we were told to find the derivative of

which is

We didn't have to find the second derivative but our text gave us the answer to it.

So my question is what cancels out in the numerator to arrive at the answer. It's something so elementary but I can't seem to get my answer to match the final answer.