Rewrite the function as an equation.

The slope-intercept form is , where is the slope and is the y-intercept.

Find the values of and using the form .

The slope of the line is the value of , and the y-intercept is the value of .

Slope:

y-intercept:

Slope:

y-intercept:

Graph f(x)=2