Final answer:
To find the equation of a line in slope-intercept form, we can use the formula y = mx + b, where m is the slope and b is the y-intercept. In this case, the slope is -1/2 and the y-intercept is 3. Therefore, the equation of the line is y = -1/2x + 3.
Step-by-step explanation:
To write the equation of a line in slope-intercept form, we need to use the formula: y = mx + b. Here, m represents the slope and b represents the y-intercept. To find the slope, we use the formula: m = (y2 - y1) / (x2 - x1), where (x1, y1) and (x2, y2) are the coordinates of two points on the line.
Using the given points (2, 2) and (-2, 4), we have:
m = (4 - 2) / (-2 - 2) = 2 / -4 = -1/2.
Now, we can substitute the slope and one of the given points into the equation to find the y-intercept:
y = (-1/2)x + b
2 = (-1/2)(2) + b
b = 2 + 1 = 3
Therefore, the equation of the line in slope-intercept form is: y = -1/2x + 3.