Answer
$t = \frac{4.00~D}{c}$
Work Step by Step
We can find $\beta$:
$\gamma = \frac{1}{\sqrt{1-\beta^2}}$
$\sqrt{1-\beta^2} = \frac{1}{\gamma}$
$1-\beta^2 = \frac{1}{\gamma^2}$
$\beta^2 = 1-\frac{1}{\gamma^2}$
$\beta = \sqrt{1-\frac{1}{\gamma^2}}$
$\beta = \sqrt{1-\frac{1}{24^2}}$
$\beta = 0.99913$
We can find the travel time as measured from the rest frame of the Earth:
$t = \frac{4D}{0.99913~c}$
$t = \frac{4.00~D}{c}$