Take it step by step.
First take the left hand side of what you want to prove, that is, the second derivative of w with respect to t.
Next, do the same with the other side, that is find the second derivative of w with respect to x.
(This step like the step before this will need you do some...