General solution of differential equation (x + 1) y '- 2Y = (x + 1) ^ 5

General solution of differential equation (x + 1) y '- 2Y = (x + 1) ^ 5

(x+1)y'-2y=(x+1)^5
y'(x+1)^(-2)-2y(x+1)^(-3)=(x+1)^2
Integral on both sides, y (x + 1) ^ (- 2) = (x + 1) ^ 3 / 3 + C
So y = (x + 1) ^ 5 / 3 + C (x + 1) ^ 2, where C is an arbitrary constant