When you divide the variables, you need to subtract the exponents. It appears that you subtracted coefficients as well.