The graph of the equation y=f(x) passes through the points (-2,-5), (0,1), (1,4) and (2,7). What is the value of y in the equation y=f(1)?