Promixa Centrauri is 4.244 ly from earth so:
[tex]4,244ly\times\frac{9.46\times10^{12}\operatorname{km}}{1ly}=4.014824\times10^{13}\operatorname{km}[/tex]Light travels at a speed of 3.0 x 10⁸ m/s so:
[tex]3.0\times10^8\cdot\frac{m}{s}\cdot\frac{1\operatorname{km}}{1000m}=300000\cdot\frac{km}{s}[/tex]Therefore:
[tex]\begin{gathered} d=v\cdot t \\ \text{Solving for t:} \\ t=\frac{d}{v} \\ t=\frac{4.014824\times10^{13}}{300000}\approx1338\times10^5s \end{gathered}[/tex]