How do I create a wave using three positions?

Yes, Wave - Roblox This is a test model that works, but does not have the middle between a and b working and I dont know how. An this is the what I used to create this: Mechanical Wave Simulation