exponential function through (1, 3) and (2, 9)