It appears that you divided the coefficients correctly, but made a mistake when dividing the variables. Because the x in the numerator did not have an exponent, you may have treated it as if the exponent was 0. Remember that when there is no exponent, that is the same as an exponent of 1.