Deriving the d'Alembert Solution to the Wave Equation