The final velocity after it passes the plank is 2019u.
Let x be the thickness of the plank, the deceleration due to resistance of plank, is given by v2=u2+2as
where v is final velocity, u is initial velocity, a is acceleration and s is displacement.
Here v=2019u ∴(2019u)2=u2+2ax ⇒2ax=400−39u2
Suppose the bullet is stopped after passing through n such planks. Then the distance covered by bullet is nx. ∴0=(2019)2u2+2anx ⇒−(2019)2u2=n×400−39u2 ⇒n=39361≈9