結果 : linear function from two points formula