Answer:

Explanation:
This problem is about an harmonic movement. The definition, that relates the given variables in this kind of movement is:

Where
is the vertical displacement,
is the time and

So, we just have find the angular frequency and then replace all given values:

In this case, the period
is 8 seconds, because according to the problem, half period is 4 second, from the highest point to the lowest, which is half of the complete period.
Now, replacing values:

This expression, where
is the height or vertical displacement, gives the height at any point.