Postion of array points

Is there anyone has knowledge of how can I move the array points by Sin curve to the original position as explained in the image?

Question

Add a plus between the y and the sine result before it goes to the new point
or just move it by the sine result in the y direction.

Just ignore the Y attribute of each point? Without posting your code, I can’t be sure what you are asking.