Use the slope and two points to write a linear function rule for the Graph.

A line on a coordinate graph passes through a point with coordinates 2 comma negative 2 and a point with coordinates 4 comma 2.
(1 point)
Responses

y = –2x – 6
y = –2 x – 6

y = 2x – 6
y = 2 x – 6

y = one-halfx – 6
y = Image with alt text: one-half x – 6

y = one-halfx + 6

We can start by finding the slope of the line using the two points given:

slope = (y2 - y1) / (x2 - x1)
slope = (2 - (-2)) / (4 - 2)
slope = 4 / 2
slope = 2

Now that we have the slope of 2, we can use one of the points (2, -2) to find the y-intercept. We can substitute the values into the slope-intercept form of a linear equation: y = mx + b where m is the slope and b is the y-intercept.

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

Therefore, the linear function rule for the given graph is y = 2x - 6.