3. (12%) Show that any function of the form z = f(x + at) + g(x - at) isa solution of the wave equation