Write the equation of the line that passes through the points (1,6) and (-1,-2)

pleas help

First use y2-y1/x2-x1

-2-6/-1-1
-8/-2
m= 4

use (1,6) m=4 to substitute into the variables
y=mx+b
6=4(1)+b
6=4+b
2=b

write your equation
y=mx+b
y=4x+2

Y=4X + B

To find the equation of a line that passes through two given points, you can use the slope-intercept form of a linear equation, which is given by: y = mx + b, where m represents the slope of the line, and b represents the y-intercept.

To calculate the slope (m), you can use the formula: m = (y2 - y1) / (x2 - x1), where (x1, y1) and (x2, y2) are the coordinates of the two given points.

Let's apply this formula to the given points (1, 6) and (-1, -2):

m = (-2 - 6) / (-1 - 1)
m = (-8) / (-2)
m = 4

Now that we have the slope (m), we can proceed to find the y-intercept (b).

We can select one of the given points, let's say (1, 6), and substitute the values of x, y, and m into the slope-intercept form equation: y = mx + b

6 = 4(1) + b
6 = 4 + b
b = 6 - 4
b = 2

Therefore, the y-intercept (b) is 2.

Now that we have both the slope (m = 4) and the y-intercept (b = 2), the equation of the line that passes through the given points (1, 6) and (-1, -2) is:

y = 4x + 2