Intial position of the weight is at t = 0.
Looking at the graph, at t = 0, the initial position is at 40 cm.
Initial position is the starting of the sinusoidal curve shown.
It is at time 0, or the value of p(t) at t = 0.
This is at 40,
p(t) = 40
at
t = 0