Given the function, f(x) = 2x2 - x + 1, calculate the average rate of change of the function from x = 1 to x = 3.