Which of the following statements is true about the function presented in the table?
a. The slope of the function is 4 and the y-intercept is 2.
b. The slope of the function is 4 and the y-intercept is -2.
c. The slope of the function is -2 and the y-intercept is 4.
d. The slope of the function is 2 and the y-intercept is 4.