We can factor the right-hand side of the equation above to get:
y ′ = (1 + x)(1 + y).
In this form it is obviously a separable differential equation, and we can rewrite it as:
If we take the antiderivative of both side we get:
Exponentiating both sides we get:
So, our final solution is: