# Question #57194

$f = {x}^{3} - 5 \sin x + a x + b$
$f ' = 3 {x}^{2} - 5 \cos x + a$
$f \left(0\right) = 3$ means $b = 3$
$f ' \left(0\right) = 2$ means $a = 5$
$f \left(x\right) = {x}^{3} - 5 \sin x + 2 x + 3$