Answer:
y = -0.5x + 2
Step-by-step explanation:
In order to find the equation of a line given two coordinates, you must first find the slope of the equation.
y = mx + b
To find slope (m), use the equation below:
Slope = (y2 - y1 ) / (x2 - x1 )
(2, 1)
(-2, 3)
y2 = 1
y1 = 3
x2 = 2
x1 = -2
Slope = (1 - 3) / (2 - -2) = (-2) / (4) = -0.5
y = -0.5x + b
Next, plug in one coordinate in order to solve for b:
Let's plug in the numbers (-2,3)
3 = -0.5 (-2) + b
b = 3 - 1 = 2
Line's equation =
y = -0.5x + 2