Mark M. answered 03/29/21
Retired math prof. Calc 1, 2 and AP Calculus tutoring experience.
We need f(x) to be continuous at x = -1, so 24(-1)2 = m(-1)3 + b.
Therefore, b - m = 24.
Also, the one sided derivatives must be the same when x = -1. So, 48(-1) = 3m(-1)2.
Consequently, m = -16 and b = 40.