To solve this problem we will apply the linear motion kinematic equations. In which the speed is defined as the distance traveled in a certain period of time. In turn we must emphasize that 1 light year is equivalent to [tex]9.461*10^{15}m[/tex]. Mathematically the speed is described as,
[tex]v = \frac{x}{t} \rightarrow t = \frac{x}{v}[/tex]
Replacing,
[tex]t = \frac{9.461*10^{15}}{30}[/tex]
[tex]t = 3.15366*10^{14}s (\frac{1 year}{3.154*10^7})[/tex]
[tex]t \approx 10,000,000 years[/tex]
Therefore the correct answer is D.