NOTE: y' means the derivative of y, that is dy/dx.
So
This question requires us to integrate, and in the process, to find the constant of integration.
Put u = 2x + 1.
Now du = 2dx
So
So
Now if x = 0 then y = 2 (from the question).
and this gives K = 5/3.
So
is the required function.