Mark M. answered 05/17/21
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
f(x) = ax3 + bx2 - 5x + 9
f'(x) = 3ax2 + 2bx - 5
Since f(-1) = 12, -a + b + 14 = 12
Since f'(-1) = 3, 3a - 2b - 5 = 3
So, we have the system of equations:
-a + b = -2
3a - 2b = 8
Multiply the first equation by 2:
-2a + 2b = -4
3a - 2b = 8
Add the equations to get a = 4.
a = 4 and b = 2