Find an equation for the exponential function that passes through the points, (2,2) and (1,2). The exponential function should be of the form f(x)=abˣ.