結果 : write exponential function given two points