Answer:
f(x) = 3x³ + x² + 22
Explanation:
Given
f'(x) = 9x²+2x
To get f(x), we will be integrating the function
f(x) = 9x³/3 + 2x²/2 + C
f(x) = 3x³ + x² + C
at (-2,2)
2 = 3(-2)³ +(-2)² + C
2 = -24 + 4 + C
2 = -20 + C
C = 2+20
C = 22
Get the required function
f(x) = 3x³ + x² + C
f(x) = 3x³ + x² + 22