Given

The interpolated value X=4 using piecewise linear interpolation is

Piecewise linear interpolation is a simple way of connecting points through straight lines

So equation Of line joining first 2 points is

Y-x=6

So at x=4 , y is 10

So eq. Of line joining first 2 points is