;;linear interpolation ;;given: 2d points p1 = (x1 y1) & p2 = (x2 y2) ;; x3 value to interpolate x1