We use the equations of motion,
[tex]v = u + at[/tex] (A)
[tex]v^{2} = u^{2} + 2as[/tex] (B)
Here, v is final velocity of the body, u is initial velocity of the body, a is the acceleration of the body, t is the time taken in the motion and s is distance traveled by the body.
Given [tex]u = 8 \ m/s[/tex], [tex]v = 40 \ m/s[/tex] and [tex]t = 3.33 \times 10^{-2} \ s[/tex].
So, from equation (A)
[tex]40 \ m/s = 8 \ m/s + a ( 3.33 \times 10^{-2 } \ s) \\\\ a = \frac{32 \ m/s}{3.33\times 10^{-2 } \ s } = 9.6 \times 10^{2} \ m/s^2[/tex]
Now from the equation (B),
[tex](40 \ m/s)^2 = (8 \ m/s)^2 + 2 (9.6 \times 10^{2} m/s^2) \times s \\\\ s = \frac{(40 \ m/s)^2-(8 \ m/s)^2}{2 (9.6 \times 10^{2} m/s^2} = 0.8 \ m[/tex]
Thus, the distance over which the puck accelerates is 0.8 m.