Step-by-step explanation: Given is a function as
two values of x are x=-1 and x=2
Corresponding y values are
y(-1) = 1-1 =0 and
y(2) = 4+2 =6
Hence the two points are (-1,0) and (2,6)
Secant line equation can be obtained using two point formula for straight lines
a) Secant line joining (-1,0) and (2,6) is
is the equation of the secant line
b) to find equation of tangent
Slope of tangent line at (-1,0) = value of derivative at that point
So m =-1 and one point on the line is point of contact (-1,0)
So using point slope formula