Starts at a low point so let's use the sin function
Amplitude = 5 period = 4 s (given)
5 sin ( s x ) will give amplitude of 5
period = 4 usual period is 2 pi ...we need to shorten it to 4 s
2 pi /s = 4
2 pi/4 = s
5 sin(pi/2 x )
Here is the graph:
https://www.desmos.com/calculator/0r1i8yeu2h