I just understood your question. Yes when you divide the 2y it goes on the bottom not the top. Think back to dividing simple fractions. A fraction divided by a fraction you take the reciprocal of the second and multiply. ie

I assume the denominator is x+1

Using the quotient rule on the right side

Simplify numerator:

Solve for dy/dx:

Simplify: