Analytic Solution of the Time-Optimal Control of a Double Integrator from an Arbitrary State to the State-space Origin