interpolate (0,0),(1,1),(0.9,10),(0.5,5),(0.2,5)