dB/dt = k*B
dB/(kB) = dt
Integrating both sides:
1/k*ln|B| = t + C
B = C*e^(kt)
At time t = 0, B = 4000 and at time t = 3 (3 hours past 9 AM), B = 4500
4000 = C
4500 = 4000*e^(3k) => k = 1/3*ln(9/8)
At time t = 15 (Midnight), B = 4000*e^(1/3*ln(9/8)*15) = 4000*(9/8)^5 = 7208 bacteria