linear function through the points 140;20 and 100;255