Move Points along curve in the Z axis

I am relatively new to Grasshopper so forgive me for probably such a simple question, as I cannot seem to find the answer.

I’m working on a school project, and I would like to move points along a curve in the Z axis.

I have a curve divided into 12 points, I would like to set a domain range, so that the 1st and 2nd, along with the 11th and 12th points do not move. While the others (3-10) do. (13.3 KB)