Answer:
Step-by-step explanation:
The equation of the line in slope-intercept form is:
y=mx+b
Where m the slope of the line and b the y-intercept.
When two points are given, it's convenient to calculate the slope first.
Suppose we know the line passes through points A(x1,y1) and B(x2,y2). The slope can be calculated with the equation:
The points are (3,5) and (-2,1):
The equation is now:
To calculate b, we use any of the given points and solve for b. Use (3,5):
Operate:
Solve:
The required equation of the line is: