The equation of the line containing the points (-2,8) and (4,-1) is:
y = -3x/2 + 5
Given data
points (-2,8) and (4,-1)
From the equation of the straight line y = mx + c
The slope of the line m is solved by
m = ( y2 - y1 ) / ( x2 - x1 )
m = ( -1 - 8 ) / ( 4 - -2 )
m = (-9 ) / ( 6 )
m = -3/2
using the point ( 4, -1 ) we find the intercept as
y = mx + c
-1 = -3/2 * 4 + c
-1 = -3 * 2 + c
-1 = -6 + c
-1 + 6 = c
c = 5
Substituting the values of m = -3/2 and c = 5 to the equation y = mx + c gives the equation of the line. This is done as follows
y = mx + c
y = -3/2 * x + 5
y = -3x/2 + 5
Read more on equation of straight line here: https://brainly.com/question/18831322
#SPJ1