Given that the growth speed of hair is 3 x 10^-9 m/s.
We have to determine how long would it take to get to 10 cm.
It is known that t = d/s.
Here, d = 10 cm = 0.1 m and s = 3 x 10^-9 m/s. So,

We know that 1 yr = 3.156 × 10^7 s. So, the time taken (in years) is:

Thus, it will take 10.55 years to grow the hairs to 10 cm.