if you go from one point to the other do you subract the a and b or do you do all points in between to find the elevation?

I'm not sure what this question refers to. Are you trying to calculate slopes?