Here we go ~
The required equation is :
Now, let's find the required values :
period (p) = 4
[distance between any successive Crest or trough]
a = - 3 (flipped)
b = 2π/p = 2π/4 = π/2
k = 1
Distance of starting position from origin = k
Now, plug in the values ~