How to show that any function of form $z = f(x+at) + g(x-at)$ is a solution of the wave equation
Second partial derivative of $z$ with respect to $t = (a^2)*(\text{second partial derivative of}\,z\,\text {with respect to}\,x)$
I couldn't understand the way of doing it. Can you please help me for this one?