Answer:
Part 1)

Part 2)

Explanation:
step 1
Find the equation of the line
Let

The equation of the line into slope intercept form is equal to

where
m is the slope
b is the y-coordinate of the y-intercept
In this problem
The point B is the y-intercept
so
b=-2
Find the slope m

substitute

In function notation

step 2
Find f(-2)
substitute the value of x=-2 in the function
