a line passes through (1,1),(-2,4), and (6,n)

find value of n

since the slope is constant, you need

(n-4)/(6+2) = (4-1)/(-2-1)
Now you can find n.

Or, thinking about it another way,

y increased by 3 when x decreased by 3.

So, y will decrease by 8 if x increases by 8.

were did the postive 2 come from

6 - (-2)

C'mon, read your text.

To find the value of n, we need to determine the equation of the line passing through the given points (1, 1), (-2, 4), and (6, n).

First, let's determine the slope (m) of the line using the formula:

m = (y2 - y1) / (x2 - x1)

Using the points (1, 1) and (-2, 4):

m = (4 - 1) / (-2 - 1)
m = 3 / -3
m = -1

So, the slope (m) of the line is -1.

Next, we can use the point-slope form of the equation of a line to find the equation. The general form is:

y - y1 = m(x - x1)

Using the point (1, 1):

y - 1 = -1(x - 1)
y - 1 = -x + 1
y = -x + 2

Now, we can substitute the x-coordinate from the third point (6, n) into the equation to find the value of n:

n = -6 + 2
n = -4

Therefore, the value of n is -4.