It would be, but you're only looking at half the expression. The Y delta then gets multiplied by a value from 0 to 1 based on the X position between the two points.

I've added a line break to the expression to keep it inside the length limit.