It is not. Here's why:

In order to cancel out the term, it must appear in both terms in the numerator. It doesn't, so we can't cancel it out.

You will have to leave the solution in the form:

However, IF you break up the expression into two different fractions, observe what happens:

Either of these answers would be correct.

I hope this makes sense!

--Chris