Davide M. answered 02/04/21
PhD in Mathematics, former UCLA Researcher: Math and Physics Tutor
By integrating f'(x) you obtain f(x)=2x3+2x+C where C is an unknown constant of integration.
In order to evaluate the value of C, you impose the additional constraint (the curve must pass through (-1,2)) and hence f(-1)=2
In this case, f(-1)=2(-1)3+2(-1)+C=-2-2+C=-4+C=2, which implies C=+6.
Finally, f(x) reads f(x)=2x3+2x+6 which satisfies both conditions.
Best,
Davide
Hubert H.
Thank you!02/05/21