Solution 1:

i don't think you made a mistake. continuing from where you stopped,
if $(y+1)(x+1)>0$ , then $y+1=\frac{c_1}{x+1}$.
otherwise if $(y+1)(x+1)<0$ , then $y+1=-\frac{c_1}{x+1}$.