Answer:
The wave equation is
=

a sinusoidal wave can be u = Acos( ax + bt) + B*sin(ax + bt)
where A, a, B and b are real constants. (here you also can add a phase to the arguments of the sin and cosine)
then
=
*( -Acos(ax + bt) - B*sin(ax + bt))
and
=
*( -Acos(ax + bt) - B*sin(ax + bt))
then if a*c = b, this is a solution of the wave equation.