Substituting this expressions into the above general solution with zero initial conditions and using the Euler's exponential formula will lead to canceling out the imaginary terms and reveals the Duhamel's solution: