[tex]f'(x)[/tex] exists and is bounded for all [tex]x[/tex]. We're told that [tex]f(0)=-8[/tex]. Consider the interval [0, 3]. The mean value theorem says that there is some [tex]c\in(0,3)[/tex] such that
[tex]f'(c)=\dfrac{f(3)-f(0)}{3-0}[/tex]
Since [tex]f'(x)\le9[/tex], we have
[tex]\dfrac{f(3)+8}3\le9\implies f(3)\le19[/tex]
so 19 is the largest possible value.