You may have just divided the coefficients and the constants. The correct setup for the problem is:
Factor the numerator and simplify.