Derive an expression for a simple harmonic plane progressive wave

Derive an expression for a simple harmonic plane progressive wave.

Consider a plane progressive wave (longitudinal or transverse) travelling from left to right as in the figure.
image
Consider a particle at the origin O.
At t = 0, the displacement of the particle at any instant is given by