Can anyone help me with this proof, I've attached my working out so far:
Show that: $\phi =Ae^{-\frac{kt}{2}}sin(pt)cos(qx)$ satisfies the equation
$$\frac{\partial \phi^{2}}{\partial x^2}=\frac{1}{c^2}\left ( \frac{\partial^2\phi}{\partial t^2} + k \frac{\partial \phi}{\partial t}\right )$$
provided that $p^{2}=c^{2}q^{2}-\frac{k^{2}}{4}$.
Working out so far (click to magnify):

You need to use the product rule when computing $\frac{\partial}{\partial t}$, you've only taken the deriviative of one term containing $t$.