Write the equation of a line which contains the point (2,4) and (-2,2)

y = -2x + 2
y = 2x + 4
y = ½x + 3
y = -4x + 2

The slopes has to be (2-4)/(-2-2)=-2/-4

But that's not one of the answers so what do i DO?

-2/-4 = 1/2 There is no line with a slope of 1/2??
Try a point in each of them to see if it makes a true equation.

this is what the problem gives me:

Write the equation of a line which contains the point (2,4) and (-2,2)

y = -2x + 2
y = 2x + 4
y = ½x + 3
y = -4x + 2

To find the equation of a line that passes through two given points, you can use the point-slope form of a linear equation. The point-slope form is y - y1 = m(x - x1), where (x1, y1) represents one of the given points, and m represents the slope of the line.

Let's use the point (2,4) to find the equation of the line:

Step 1: Find the slope (m) using the two given points.
Using the formula for slope, m = (y2 - y1)/(x2 - x1), we can substitute the values of (x1, y1) as (2,4) and (x2, y2) as (-2,2).
m = (2 - 4)/(-2 - 2) = -2/-4 = 1/2.

Step 2: Substitute the slope (m) and the point (2,4) into the point-slope form.
Using the point-slope form, we have y - y1 = m(x - x1).
Substituting (x1, y1) as (2,4) and m as 1/2, we get y - 4 = 1/2(x - 2).

Step 3: Simplify the equation.
Distribute 1/2 to (x - 2), y - 4 = 1/2x - 1.
Now, to isolate y, add 4 to both sides, y = 1/2x + 3.

So, the equation of the line that passes through the points (2,4) and (-2,2) is y = 1/2x + 3.